mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-09-01 00:40:02 +00:00
Update of chardet to 4.0.0
This commit is contained in:
parent
af0e46316a
commit
d47aacbfba
17 changed files with 26950 additions and 1636 deletions
6
thirdparty/chardet/compat.py
vendored
6
thirdparty/chardet/compat.py
vendored
|
|
@ -25,10 +25,12 @@ import sys
|
|||
if sys.version_info < (3, 0):
|
||||
PY2 = True
|
||||
PY3 = False
|
||||
base_str = (str, unicode)
|
||||
string_types = (str, unicode)
|
||||
text_type = unicode
|
||||
iteritems = dict.iteritems
|
||||
else:
|
||||
PY2 = False
|
||||
PY3 = True
|
||||
base_str = (bytes, str)
|
||||
string_types = (bytes, str)
|
||||
text_type = str
|
||||
iteritems = dict.items
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue