Home
last modified time | relevance | path

Searched refs:__reduce_ex__ (Results 1 – 25 of 36) sorted by relevance

12

/external/python/enum34/enum/
D__init__.py90 cls.__reduce_ex__ = _break_on_call_reduce
764 def __reduce_ex__(self, proto): function
766 temp_enum_dict['__reduce_ex__'] = __reduce_ex__
767 del __reduce_ex__
805 cls.__reduce_ex__ = _reduce_ex_by_name
Dtest.py1402 def __reduce_ex__(self, proto): member in TestEnum.test_subclasses_with_reduce_ex.NamedInt
1541 def __reduce_ex__(self, proto): member in TestEnum.test_subclasses_without_direct_pickle_support_using_name.NEI
/external/python/cpython3/Lib/
Denum.py40 cls.__reduce_ex__ = _break_on_call_reduce
473 cls.__reduce_ex__ = _reduce_ex_by_name
668 def __reduce_ex__(self, proto): member in Enum
Ddatetime.py1581 def __reduce_ex__(self, protocol): member in time
1585 return self.__reduce_ex__(2)
2192 def __reduce_ex__(self, protocol): member in datetime
2196 return self.__reduce_ex__(2)
/external/tensorflow/tensorflow/python/training/tracking/
Ddata_structures.py505 def __reduce_ex__(self, protocol): member in ListWrapper
786 def __reduce_ex__(self, protocol): member in _DictWrapper
1030 def __reduce_ex__(self, protocol): member in _TupleWrapper
/external/python/cpython3/Lib/test/
Daudit-tests.py113 def __reduce_ex__(self, p): member in test_pickle.PicklePrint
Dpickletester.py200 def __reduce_ex__(self, protocol): member in ZeroCopyBytes
228 def __reduce_ex__(self, protocol): member in ZeroCopyBytearray
298 def __reduce_ex__(self, protocol): member in PicklableNDArray
3009 def __reduce_ex__(self, proto): member in REX_two
3015 def __reduce_ex__(self, proto): member in REX_three
3024 def __reduce_ex__(self, proto): member in REX_four
3026 return object.__reduce_ex__(self, proto)
Dtest_descr.py4992 reduce_value = obj.__reduce_ex__(proto)
5016 self.assertEqual(obj.__reduce_ex__(proto), reduce_value)
5044 obj.__reduce_ex__(proto)
5071 obj.__reduce_ex__(proto)
5087 obj.__reduce_ex__(proto)
5109 obj.__reduce_ex__(proto)
5126 obj.__reduce_ex__(proto)
5413 self.assertEqual(A().__reduce_ex__(2), expected) # Shouldn't crash
5422 object().__reduce_ex__(0)
5424 object().__reduce_ex__()
[all …]
Dtest_copy.py56 def __reduce_ex__(self, proto): member in TestCopy.test_copy_reduce_ex.C
318 def __reduce_ex__(self, proto): member in TestCopy.test_deepcopy_reduce_ex.C
Dtest_enum.py762 ReplaceGlobalInt.__reduce_ex__ = enum._reduce_ex_by_name
764 self.assertEqual(ReplaceGlobalInt.TWO.__reduce_ex__(proto), 'TWO')
1350 def __reduce_ex__(self, proto): member in TestEnum.test_subclasses_with_reduce_ex.NamedInt
1490 def __reduce_ex__(self, proto): member in TestEnum.test_subclasses_without_direct_pickle_support_using_name.NEI
Dtest_array.py250 self.assertIs(a.__reduce_ex__(protocol)[0], array.array)
252 self.assertIs(a.__reduce_ex__(protocol)[0], array_reconstructor)
Ddatetimetester.py1580 self.assertEqual(orig.__reduce__(), orig.__reduce_ex__(2))
2294 self.assertEqual(orig.__reduce__(), orig.__reduce_ex__(2))
3353 self.assertEqual(orig.__reduce__(), orig.__reduce_ex__(2))
3744 self.assertEqual(orig.__reduce__(), orig.__reduce_ex__(2))
3756 self.assertEqual(orig.__reduce__(), orig.__reduce_ex__(2))
4125 self.assertEqual(orig.__reduce__(), orig.__reduce_ex__(2))
4138 self.assertEqual(orig.__reduce__(), orig.__reduce_ex__(2))
/external/python/cpython2/Doc/library/
Dpickle.rst533 .. method:: object.__reduce_ex__(protocol)
537 :meth:`__reduce_ex__` instead of :meth:`__reduce__`. :meth:`__reduce_ex__`,
540 :meth:`__reduce_ex__` method will be called with a single integer argument,
544 :meth:`__reduce_ex__`; however, if a subclass overrides :meth:`__reduce__`
545 but not :meth:`__reduce_ex__`, the :meth:`__reduce_ex__` implementation
/external/python/cpython2/Lib/test/
Dpickletester.py1581 def __reduce_ex__(self, proto): member in REX_two
1588 def __reduce_ex__(self, proto): member in REX_three
1596 def __reduce_ex__(self, proto): member in REX_four
1598 return object.__reduce_ex__(self, proto)
Dtest_copy.py51 def __reduce_ex__(self, proto): member in TestCopy.test_copy_reduce_ex.C
270 def __reduce_ex__(self, proto): member in TestCopy.test_deepcopy_reduce_ex.C
/external/python/cpython3/Misc/NEWS.d/
D3.9.0rc2.rst118 `__repr__`, `__format__`, and `__reduce_ex__`).
D3.5.1rc1.rst48 Default implementation of __reduce__ and __reduce_ex__ now rejects builtin
/external/python/dateutil/dateutil/tz/
Dtz.py862 return self.__reduce_ex__(None)
864 def __reduce_ex__(self, protocol): member in tzfile
/external/python/cpython3/Doc/library/
Dpickle.rst713 .. method:: object.__reduce_ex__(protocol)
715 Alternatively, a :meth:`__reduce_ex__` method may be defined. The only
947 The large data objects to be pickled must implement a :meth:`__reduce_ex__`
992 def __reduce_ex__(self, protocol):
Denum.rst458 :meth:`__reduce_ex__` in the enumeration class.
/external/python/cpython2/Misc/NEWS.d/
D2.7.12rc1.rst163 __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no
D2.7.11rc1.rst28 Default implementation of __reduce__ and __reduce_ex__ now rejects builtin
/external/python/cpython3/Doc/faq/
Dgeneral.rst416 '__mul__', '__ne__', '__new__', '__reduce__', '__reduce_ex__',
/external/python/cpython2/Doc/faq/
Dgeneral.rst424 '__reduce_ex__', '__repr__', '__reversed__', '__rmul__',
/external/scapy/scapy/
Dpacket.py91 def __reduce_ex__(self, proto): member in Packet

12