Home
last modified time | relevance | path

Searched refs:bytes_types (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Lib/
Dbase64.py32 bytes_types = (bytes, bytearray) # Types acceptable as binary data variable
40 if isinstance(s, bytes_types):
174 if not isinstance(s, bytes_types):
304 if not isinstance(b, bytes_types):
Dpickletools.py21 bytes_types = pickle.bytes_types variable
2269 if isinstance(data, bytes_types):
Dpickle.py51 bytes_types = (bytes, bytearray) variable
1255 assert isinstance(key, bytes_types)
1801 assert isinstance(res, bytes_types)
/external/pytorch/torch/
D_weights_only_unpickler.py40 bytes_types,
193 assert isinstance(key, bytes_types)
/external/python/cpython3/Lib/test/
Dpickletester.py37 from pickle import bytes_types
2976 self.assertIsInstance(s, bytes_types)