X7ROOT File Manager
Current Path:
/opt/cloudlinux/venv/lib/python3.11/site-packages/simplejson
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
simplejson
/
ðŸ“
..
📄
__init__.py
(22.95 KB)
ðŸ“
__pycache__
📄
_speedups.cpython-311-x86_64-linux-gnu.so
(59.53 KB)
📄
compat.py
(815 B)
📄
decoder.py
(14.78 KB)
📄
encoder.py
(28.41 KB)
📄
errors.py
(1.74 KB)
📄
ordered_dict.py
(2.88 KB)
📄
raw_json.py
(217 B)
📄
scanner.py
(2.96 KB)
ðŸ“
tests
📄
tool.py
(1.11 KB)
Editing: compat.py
"""Python 3 compatibility shims """ import sys if sys.version_info[0] < 3: PY3 = False def b(s): return s try: from cStringIO import StringIO except ImportError: from StringIO import StringIO BytesIO = StringIO text_type = unicode binary_type = str string_types = (basestring,) integer_types = (int, long) unichr = unichr reload_module = reload else: PY3 = True if sys.version_info[:2] >= (3, 4): from importlib import reload as reload_module else: from imp import reload as reload_module def b(s): return bytes(s, 'latin1') from io import StringIO, BytesIO text_type = str binary_type = bytes string_types = (str,) integer_types = (int,) unichr = chr long_type = integer_types[-1]
Upload File
Create Folder