Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/tpu/
Dfeature_column_v2.py445 def __getnewargs__(self): member in _TPUEmbeddingColumnV2
451 *(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.py520 self.assertEqual((1+2j).__getnewargs__(), (1.0, 2.0))
521 self.assertEqual((1-2j).__getnewargs__(), (1.0, -2.0))
522 self.assertEqual((2j).__getnewargs__(), (0.0, 2.0))
523 self.assertEqual((-0j).__getnewargs__(), (0.0, -0.0))
524 self.assertEqual(complex(0, INF).__getnewargs__(), (0.0, INF))
525 self.assertEqual(complex(INF, 0).__getnewargs__(), (INF, 0.0))
Dtest_copy.py197 def __getnewargs__(self): member in TestCopy.test_copy_inst_getnewargs.C
493 def __getnewargs__(self): member in TestCopy.test_deepcopy_inst_getnewargs.C
Dtest_descr.py5026 def __getnewargs__(self): member in PicklingTests.test_reduce.C1
5038 def __getnewargs__(self): member in PicklingTests.test_reduce.C2
5304 def __getnewargs__(cls): member in PicklingTests.test_reduce_copying.C2
5341 def __getnewargs__(cls): member in PicklingTests.test_reduce_copying.C4
/external/llvm/utils/lit/lit/
DTest.py18 def __getnewargs__(self): member in ResultCode
/external/python/cpython3/Lib/collections/
D__init__.py464 def __getnewargs__(self): function
475 __getnewargs__,
491 '__getnewargs__': __getnewargs__,
1291 def __getnewargs__(self): member in UserString
/external/llvm-project/llvm/utils/lit/lit/
DTest.py29 def __getnewargs__(self): member in ResultCode
/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/autotest/site_utils/rpm_control_system/
DBeautifulSoup.py463 def __getnewargs__(self): member in NavigableString
/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

12