/external/yapf/yapf/yapflib/ |
D | py3compat.py | 20 PY3 = sys.version_info[0] >= 3 variable 23 if PY3: 82 if PY3: 100 if PY3: 115 if not PY3:
|
/external/python/setuptools/setuptools/_vendor/packaging/ |
D | _compat.py | 10 PY3 = sys.version_info[0] == 3 variable 14 if PY3:
|
/external/python/setuptools/pkg_resources/_vendor/packaging/ |
D | _compat.py | 10 PY3 = sys.version_info[0] == 3 variable 14 if PY3:
|
/external/python/setuptools/pkg_resources/_vendor/ |
D | six.py | 37 PY3 = sys.version_info[0] == 3 variable 40 if PY3: 107 if PY3: 143 if PY3: 502 if PY3: 535 if PY3: 573 if PY3: 618 if PY3: 678 if PY3:
|
/external/python/six/ |
D | six.py | 37 PY3 = sys.version_info[0] == 3 variable 40 if PY3: 107 if PY3: 143 if PY3: 508 if PY3: 541 if PY3: 579 if PY3: 624 if PY3: 684 if PY3:
|
D | test_six.py | 89 if six.PY3: 270 if six.PY3: 278 if six.PY3: 286 if six.PY3: 291 if six.PY3: 387 if six.PY3: 392 if not six.PY3: 426 if six.PY3: 499 if six.PY3: 592 if six.PY3: [all …]
|
/external/python/setuptools/setuptools/_vendor/ |
D | six.py | 37 PY3 = sys.version_info[0] == 3 variable 40 if PY3: 107 if PY3: 143 if PY3: 502 if PY3: 535 if PY3: 573 if PY3: 618 if PY3: 678 if PY3:
|
/external/scapy/scapy/modules/ |
D | six.py | 42 PY3 = sys.version_info[0] == 3 variable 45 if PY3: 112 if PY3: 148 if PY3: 512 if PY3: 545 if PY3: 583 if PY3: 628 if PY3: 688 if PY3:
|
/external/flatbuffers/python/flatbuffers/ |
D | compat.py | 25 PY3 = sys.version_info[0] == 3 variable 28 if PY3:
|
/external/grpc-grpc/src/python/grpcio_tests/ |
D | setup.py | 24 PY3 = sys.version_info.major == 3 variable 47 if not PY3:
|
/external/grpc-grpc/ |
D | setup.py | 35 PY3 = sys.version_info.major == 3 variable 222 pymodinit_type = 'PyObject*' if PY3 else 'void' 230 if 'darwin' in sys.platform and PY3: 282 if not PY3:
|
/external/python/setuptools/setuptools/tests/ |
D | test_sdist.py | 53 if six.PY3 and not isinstance(path, str): 297 if six.PY3: 351 if six.PY3: 384 if six.PY3:
|
D | test_develop.py | 98 expected = 'print("foo")' if six.PY3 else 'print "foo"' 164 platform.python_implementation() == 'PyPy' and six.PY3,
|
/external/selinux/python/sepolgen/src/sepolgen/ |
D | util.py | 23 PY3 = sys.version_info[0] == 3 variable 25 if PY3:
|
D | audit.py | 46 if util.PY3: 61 if util.PY3: 74 if util.PY3:
|
/external/grpc-grpc/tools/distrib/python/grpcio_tools/ |
D | setup.py | 52 PY3 = sys.version_info.major == 3 variable 122 if 'darwin' in sys.platform and PY3:
|
/external/grpc-grpc/src/python/grpcio_tests/tests/_sanity/ |
D | _sanity_test.py | 40 if six.PY3 else tests_json_string)
|
/external/scapy/test/ |
D | run_tests_py3.bat | 2 title UTscapy - All tests - PY3
|
D | linux.uts | 97 assert six.PY3 or isinstance(pointer, str) 98 assert six.PY3 or len(pointer) > 1
|
/external/python/setuptools/setuptools/ |
D | wheel.py | 11 from setuptools.extern.six import PY3 88 value = fp.read().decode('utf-8') if PY3 else fp.read()
|
/external/python/dateutil/dateutil/tz/ |
D | _common.py | 1 from six import PY3 21 if name is not None and not PY3:
|
/external/python/setuptools/setuptools/command/ |
D | upload_docs.py | 27 errors = 'surrogateescape' if six.PY3 else 'strict' 156 if six.PY3:
|
D | test.py | 129 with_2to3 = six.PY3 and getattr(self.distribution, 'use_2to3', False) 232 if six.PY3 and getattr(self.distribution, 'use_2to3', False):
|
/external/python/mock/mock/tests/ |
D | testmagicmethods.py | 89 @unittest.skipIf(six.PY3, "no unicode in Python 3") 169 if six.PY3: 297 if six.PY3: 343 @unittest.skipIf(six.PY3, "no __cmp__ in Python 3")
|
/external/yapf/yapftests/ |
D | reformatter_verify_test.py | 27 @unittest.skipIf(py3compat.PY3, 'Requires Python 2')
|