Searched refs:_PY2 (Results 1 – 3 of 3) sorted by relevance
21 _PY2 = sys.version_info <= (3,) variable167 first_octet = ord(encoded_data[pointer]) if _PY2 else encoded_data[pointer]175 num = ord(encoded_data[pointer]) if _PY2 else encoded_data[pointer]182 length_octet = ord(encoded_data[pointer]) if _PY2 else encoded_data[pointer]
70 _PY2 = True variable75 _PY2 = False variable448 if _PY2:459 if _PY2:612 if _PY2 and isinstance(self.native, byte_cls):1435 if _PY2:2007 unused_bits_len = ord(self.contents[0]) if _PY2 else self.contents[0]2438 unused_bits_len = ord(self.contents[0]) if _PY2 else self.contents[0]2451 last_byte = ord(self.contents[-1]) if _PY2 else self.contents[-1]2455 value = self.contents[1:-1] + (chr(zeroed_byte) if _PY2 else bytes((zeroed_byte,)))[all …]
11 PY2 as _PY2, unknown394 if not _PY2: