D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
proc
/
self
/
root
/
usr
/
lib64
/
python3.6
/
site-packages
/
dbus
/
Filename :
_compat.py
back
Copy
# Python 2 / Python 3 compatibility helpers. import sys # In Python 2.6, sys.version_info is not a namedtuple, so we can't use # sys.version_info.major. is_py3 = (sys.version_info[0] == 3) is_py2 = not is_py3