Home
last modified time | relevance | path

Searched refs:__getnewargs__ (Results 1 – 25 of 40) sorted by relevance

12

/external/tensorflow/tensorflow/python/tpu/
Dfeature_column_v2.py443 def __getnewargs__(self): member in _TPUEmbeddingColumnV2
450 *(copy.deepcopy(a, memo) for a in self.__getnewargs__()))
638 def __getnewargs__(self): member in _TPUSharedEmbeddingColumnV2
646 *(copy.deepcopy(a, memo) for a in self.__getnewargs__()))
922 *(copy.deepcopy(a, memo) for a in self.__getnewargs__()),
1050 *(copy.deepcopy(a, memo) for a in self.__getnewargs__()),
/external/python/cpython2/Lib/test/
Dtest_complex.py527 self.assertEqual((1+2j).__getnewargs__(), (1.0, 2.0))
528 self.assertEqual((1-2j).__getnewargs__(), (1.0, -2.0))
529 self.assertEqual((2j).__getnewargs__(), (0.0, 2.0))
530 self.assertEqual((-0j).__getnewargs__(), (0.0, -0.0))
531 self.assertEqual(complex(0, INF).__getnewargs__(), (0.0, INF))
532 self.assertEqual(complex(INF, 0).__getnewargs__(), (INF, 0.0))
Dtest_collections.py259 self.assertEqual(t.__getnewargs__(), values)
Dpickletester.py1690 def __getnewargs__(self): member in ComplexNewObj
Dtest_descr.py3399 def __getnewargs__(self): member in ClassPropertiesAndMethods.test_pickles.C1
3411 def __getnewargs__(self): member in ClassPropertiesAndMethods.test_pickles.C2
/external/python/cpython3/Lib/test/
Dtest_complex.py595 self.assertEqual((1+2j).__getnewargs__(), (1.0, 2.0))
596 self.assertEqual((1-2j).__getnewargs__(), (1.0, -2.0))
597 self.assertEqual((2j).__getnewargs__(), (0.0, 2.0))
598 self.assertEqual((-0j).__getnewargs__(), (0.0, -0.0))
599 self.assertEqual(complex(0, INF).__getnewargs__(), (0.0, INF))
600 self.assertEqual(complex(INF, 0).__getnewargs__(), (INF, 0.0))
Dtest_copy.py198 def __getnewargs__(self): member in TestCopy.test_copy_inst_getnewargs.C
494 def __getnewargs__(self): member in TestCopy.test_deepcopy_inst_getnewargs.C
Dtest_descr.py5090 def __getnewargs__(self): member in PicklingTests.test_reduce.C1
5102 def __getnewargs__(self): member in PicklingTests.test_reduce.C2
5368 def __getnewargs__(cls): member in PicklingTests.test_reduce_copying.C2
5405 def __getnewargs__(cls): member in PicklingTests.test_reduce_copying.C4
/external/python/pyyaml/tests/lib/
Dtest_constructor.py162 def __getnewargs__(self): member in _make_objects.NewArgs
168 def __getnewargs__(self): member in _make_objects.NewArgsWithState
/external/llvm/utils/lit/lit/
DTest.py18 def __getnewargs__(self): member in ResultCode
/external/python/cpython3/Lib/collections/
D__init__.py447 def __getnewargs__(self): function
458 __getnewargs__,
474 '__getnewargs__': __getnewargs__,
1339 def __getnewargs__(self): member in UserString
/external/python/jinja/src/jinja2/
Dutils.py359 def __getnewargs__(self): member in LRUCache
/external/libchrome/third_party/jinja2/
Dutils.py338 def __getnewargs__(self): member in LRUCache
/external/python/cpython2/Doc/library/
Dpickle.rst427 .. method:: object.__getnewargs__()
429 New-style types can provide a :meth:`__getnewargs__` method that is used for
438 where *args* is the result of calling :meth:`__getnewargs__` on the original
439 object; if there is no :meth:`__getnewargs__`, an empty tuple is assumed.
469 :meth:`__getnewargs__` to establish such an invariant; otherwise, neither
Dcollections.rst641 def __getnewargs__(self):
/external/python/cpython3/Doc/library/
Dpickle.rst592 compatibility to implement :meth:`__getnewargs__`.
598 .. method:: object.__getnewargs__()
604 :meth:`__getnewargs__` will not be called if :meth:`__getnewargs_ex__` is
608 Before Python 3.6, :meth:`__getnewargs__` was called instead of
Denum.rst1057 class are correct (such as :meth:`__new__`, :meth:`__getnewargs__`,
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b1.rst204 collections.UserString now supports __getnewargs__(), __rmod__(),
D3.5.2rc1.rst254 __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no
/external/python/cpython2/Misc/NEWS.d/
D2.7.12rc1.rst163 __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no
/external/python/enum34/enum/doc/
Denum.rst676 class are correct (such as ``__new__``, ``__getnewargs__``,
/external/python/enum34/enum/
Dtest.py1234 def __getnewargs__(self): member in TestEnum.test_subclasses_with_getnewargs.NamedInt
/external/python/cpython3/Lib/email/
D_header_value_parser.py909 def __getnewargs__(self): member in Terminal
/external/python/cpython3/Lib/
Dturtle.py275 def __getnewargs__(self): member in Vec2D
/external/python/cpython2/Lib/lib-tk/
Dturtle.py294 def __getnewargs__(self): member in Vec2D

12