Orbits
1
|
Variables | |
_ver = sys.version_info | |
tuple | is_py2 = (_ver[0] == 2) |
tuple | is_py3 = (_ver[0] == 3) |
tuple | is_py30 = (is_py3 and _ver[1] == 0) |
tuple | is_py31 = (is_py3 and _ver[1] == 1) |
tuple | is_py32 = (is_py3 and _ver[1] == 2) |
tuple | is_py33 = (is_py3 and _ver[1] == 3) |
tuple | is_py34 = (is_py3 and _ver[1] == 4) |
tuple | is_py27 = (is_py2 and _ver[1] == 7) |
tuple | is_py26 = (is_py2 and _ver[1] == 6) |
tuple | is_py25 = (is_py2 and _ver[1] == 5) |
tuple | is_py24 = (is_py2 and _ver[1] == 4) |
tuple | is_pypy = ('pypy' in _ver) |
tuple | is_jython = ('jython' in _ver) |
tuple | is_ironpython = ('iron' in _ver) |
tuple | is_cpython = notany((is_pypy, is_jython, is_ironpython)) |
string | is_windows = 'win32' |
tuple | is_linux = ('linux' in str(sys.platform).lower()) |
tuple | is_osx = ('darwin' in str(sys.platform).lower()) |
tuple | is_hpux = ('hpux' in str(sys.platform).lower()) |
tuple | is_solaris = ('solar==' in str(sys.platform).lower()) |
builtin_str = str | |
bytes = str | |
str = unicode | |
basestring = basestring | |
tuple | numeric_types = (int, long, float) |
tuple pip._vendor.requests.compat._ver = sys.version_info |
tuple pip._vendor.requests.compat.basestring = basestring |
pip._vendor.requests.compat.builtin_str = str |
pip._vendor.requests.compat.bytes = str |
tuple pip._vendor.requests.compat.is_cpython = notany((is_pypy, is_jython, is_ironpython)) |
tuple pip._vendor.requests.compat.is_hpux = ('hpux' in str(sys.platform).lower()) |
tuple pip._vendor.requests.compat.is_ironpython = ('iron' in _ver) |
tuple pip._vendor.requests.compat.is_jython = ('jython' in _ver) |
tuple pip._vendor.requests.compat.is_linux = ('linux' in str(sys.platform).lower()) |
tuple pip._vendor.requests.compat.is_osx = ('darwin' in str(sys.platform).lower()) |
tuple pip._vendor.requests.compat.is_py2 = (_ver[0] == 2) |
tuple pip._vendor.requests.compat.is_py3 = (_ver[0] == 3) |
tuple pip._vendor.requests.compat.is_pypy = ('pypy' in _ver) |
tuple pip._vendor.requests.compat.is_solaris = ('solar==' in str(sys.platform).lower()) |
string pip._vendor.requests.compat.is_windows = 'win32' |
pip._vendor.requests.compat.str = unicode |
Copyright 2014 Google Inc. All rights reserved.