/external/python/cpython2/Lib/test/ |
D | test_complex.py | 527 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))
|
D | test_collections.py | 259 self.assertEqual(t.__getnewargs__(), values)
|
D | pickletester.py | 1690 def __getnewargs__(self): member in ComplexNewObj
|
D | test_descr.py | 3399 def __getnewargs__(self): member in ClassPropertiesAndMethods.test_pickles.C1 3411 def __getnewargs__(self): member in ClassPropertiesAndMethods.test_pickles.C2
|
/external/python/cpython3/Lib/test/ |
D | test_complex.py | 503 self.assertEqual((1+2j).__getnewargs__(), (1.0, 2.0)) 504 self.assertEqual((1-2j).__getnewargs__(), (1.0, -2.0)) 505 self.assertEqual((2j).__getnewargs__(), (0.0, 2.0)) 506 self.assertEqual((-0j).__getnewargs__(), (0.0, -0.0)) 507 self.assertEqual(complex(0, INF).__getnewargs__(), (0.0, INF)) 508 self.assertEqual(complex(INF, 0).__getnewargs__(), (INF, 0.0))
|
D | test_copy.py | 197 def __getnewargs__(self): member in TestCopy.test_copy_inst_getnewargs.C 493 def __getnewargs__(self): member in TestCopy.test_deepcopy_inst_getnewargs.C
|
D | test_descr.py | 4876 def __getnewargs__(self): member in PicklingTests.test_reduce.C1 4888 def __getnewargs__(self): member in PicklingTests.test_reduce.C2 5154 def __getnewargs__(cls): member in PicklingTests.test_reduce_copying.C2 5191 def __getnewargs__(cls): member in PicklingTests.test_reduce_copying.C4
|
D | test_collections.py | 503 self.assertEqual(t.__getnewargs__(), values)
|
D | test_unicode.py | 2343 args = text.__getnewargs__()
|
/external/python/cpython3/Lib/collections/ |
D | __init__.py | 430 def __getnewargs__(self): function 437 __repr__, _asdict, __getnewargs__): 452 '__getnewargs__': __getnewargs__, 1149 def __getnewargs__(self): member in UserString
|
/external/llvm/utils/lit/lit/ |
D | Test.py | 18 def __getnewargs__(self): member in ResultCode
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/ |
D | Test.py | 20 def __getnewargs__(self): member in ResultCode
|
/external/libchrome/third_party/jinja2/ |
D | utils.py | 338 def __getnewargs__(self): member in LRUCache
|
/external/python/cpython2/Doc/library/ |
D | pickle.rst | 427 .. 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
|
D | collections.rst | 641 def __getnewargs__(self):
|
/external/python/cpython3/Doc/library/ |
D | pickle.rst | 513 compatibility to implement :meth:`__getnewargs__`. 519 .. method:: object.__getnewargs__() 525 :meth:`__getnewargs__` will not be called if :meth:`__getnewargs_ex__` is 529 Before Python 3.6, :meth:`__getnewargs__` was called instead of 563 true, the type should implement :meth:`__getnewargs__` or
|
D | enum.rst | 988 class are correct (such as :meth:`__new__`, :meth:`__getnewargs__`,
|
D | unittest.mock.rst | 1713 ``__getnewargs__``, ``__getstate__`` and ``__setstate__`` 1840 * ``__reduce__``, ``__reduce_ex__``, ``__getinitargs__``, ``__getnewargs__``,
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0b1.rst | 204 collections.UserString now supports __getnewargs__(), __rmod__(),
|
D | 3.5.2rc1.rst | 254 __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.12rc1.rst | 163 __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no
|
/external/autotest/site_utils/rpm_control_system/ |
D | BeautifulSoup.py | 463 def __getnewargs__(self): member in NavigableString
|
/external/python/cpython3/Lib/email/ |
D | _header_value_parser.py | 887 def __getnewargs__(self): member in Terminal
|
/external/python/cpython2/Lib/lib-tk/ |
D | turtle.py | 294 def __getnewargs__(self): member in Vec2D
|
/external/python/cpython3/Lib/ |
D | turtle.py | 274 def __getnewargs__(self): member in Vec2D
|