Home
last modified time | relevance | path

Searched refs:sys_version (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Lib/
Dplatform.py1149 def _sys_version(sys_version=None): argument
1170 if sys_version is None:
1171 sys_version = sys.version
1174 result = _sys_version_cache.get(sys_version, None)
1179 if 'IronPython' in sys_version:
1182 if sys_version.startswith('IronPython'):
1183 match = _ironpython_sys_version_parser.match(sys_version)
1185 match = _ironpython26_sys_version_parser.match(sys_version)
1190 repr(sys_version))
1199 match = _sys_version_parser.match(sys_version)
[all …]
/external/python/cpython2/Lib/
Dplatform.py1376 def _sys_version(sys_version=None): argument
1397 if sys_version is None:
1398 sys_version = sys.version
1401 result = _sys_version_cache.get(sys_version, None)
1406 if 'IronPython' in sys_version:
1409 if sys_version.startswith('IronPython'):
1410 match = _ironpython_sys_version_parser.match(sys_version)
1412 match = _ironpython26_sys_version_parser.match(sys_version)
1417 repr(sys_version))
1426 match = _sys_version_parser.match(sys_version)
[all …]
DBaseHTTPServer.py219 sys_version = "Python/" + sys.version.split()[0] variable in BaseHTTPRequestHandler
473 return self.server_version + ' ' + self.sys_version
/external/python/cpython2/Lib/wsgiref/
Dsimple_server.py22 sys_version = "Python/" + sys.version.split()[0] variable
23 software_version = server_version + ' ' + sys_version
/external/python/cpython3/Lib/wsgiref/
Dsimple_server.py24 sys_version = python_implementation() + "/" + sys.version.split()[0] variable
25 software_version = server_version + ' ' + sys_version
/external/python/cpython3/Lib/test/test_importlib/
Dtest_windows.py43 sys_version='%d.%d' % sys.version_info[:2])
/external/python/cpython2/Doc/library/
Dbasehttpserver.rst124 .. attribute:: sys_version
252 :attr:`server_version` and :attr:`sys_version` class variables.
/external/python/cpython3/Lib/http/
Dserver.py252 sys_version = "Python/" + sys.version.split()[0] variable in BaseHTTPRequestHandler
584 return self.server_version + ' ' + self.sys_version
/external/python/cpython3/Doc/library/
Dhttp.server.rst137 .. attribute:: sys_version
295 :attr:`server_version` and :attr:`sys_version` attributes.
/external/python/cpython3/Lib/importlib/
D_bootstrap_external.py668 sys_version='%d.%d' % sys.version_info[:2])