Home
last modified time | relevance | path

Searched refs:PY2 (Results 1 – 25 of 29) sorted by relevance

12

/third_party/node/tools/
Dcompress_json.py10 PY2 = True variable
12 PY2 = False variable
29 slices = [','.join(str(ord(c) if PY2 else c) for c in s) for s in slices]
/third_party/skia/third_party/externals/markupsafe/
D_compat.py13 PY2 = sys.version_info[0] == 2 variable
15 if not PY2:
D__init__.py13 unichr, PY2
232 if not PY2:
/third_party/node/tools/inspector_protocol/markupsafe/
D_compat.py13 PY2 = sys.version_info[0] == 2 variable
15 if not PY2:
D__init__.py13 unichr, PY2
232 if not PY2:
/third_party/node/tools/inspector_protocol/jinja2/
D_compat.py15 PY2 = sys.version_info[0] == 2 variable
20 if not PY2:
Dexceptions.py11 from jinja2._compat import imap, text_type, PY2, implements_to_string
17 if PY2:
Ddebug.py18 from jinja2._compat import iteritems, reraise, PY2
271 if PY2:
307 if PY2:
Dbccache.py27 from jinja2._compat import BytesIO, pickle, PY2, text_type
31 if not PY2:
Dsandbox.py20 from jinja2._compat import string_types, PY2
31 if PY2:
Druntime.py22 implements_iterator, implements_to_string, string_types, PY2, \
290 if PY2:
739 if PY2:
Dnodes.py20 from jinja2._compat import izip, with_metaclass, text_type, PY2
495 if PY2 and type(rv) is text_type and \
Denvironment.py33 encode_filename, PY2, PYPY
669 if not PY2 or PYPY:
Dfilters.py22 from jinja2._compat import imap, string_types, text_type, iteritems, PY2
/third_party/skia/third_party/externals/jinja2/
Dexceptions.py4 from ._compat import PY2
11 if PY2:
D_compat.py6 PY2 = sys.version_info[0] == 2 variable
10 if not PY2:
Dsandbox.py15 from ._compat import PY2
25 if PY2:
Druntime.py16 from ._compat import PY2
323 if PY2:
893 if PY2:
Dnodes.py12 from ._compat import PY2
515 PY2
Denvironment.py18 from ._compat import PY2
724 if not PY2 or PYPY:
/third_party/jinja2/
D_compat.py6 PY2 = sys.version_info[0] == 2 variable
10 if not PY2:
/third_party/benchmark/tools/
DBUILD.bazel15 python_version = "PY2",
/third_party/protobuf/python/google/protobuf/
Dtext_encoding.py112 if six.PY2:
Dtext_format.py105 if six.PY2:
111 if six.PY2:
613 if isinstance(value, six.text_type) and (six.PY2 or not self.as_utf8):
841 if six.PY2:
/third_party/protobuf/python/google/protobuf/internal/
Ddecoder.py578 if is_strict_utf8 and six.PY2 and sys.maxunicode > _UCS2_MAXUNICODE:

12