/external/python/cpython2/Lib/test/ |
D | test_complex.py | 498 self.assertEqual((1+2j).__getnewargs__(), (1.0, 2.0)) 499 self.assertEqual((1-2j).__getnewargs__(), (1.0, -2.0)) 500 self.assertEqual((2j).__getnewargs__(), (0.0, 2.0)) 501 self.assertEqual((-0j).__getnewargs__(), (0.0, -0.0)) 502 self.assertEqual(complex(0, INF).__getnewargs__(), (0.0, INF)) 503 self.assertEqual(complex(INF, 0).__getnewargs__(), (INF, 0.0))
|
D | test_collections.py | 259 self.assertEqual(t.__getnewargs__(), values)
|
D | pickletester.py | 1647 def __getnewargs__(self): member in ComplexNewObj
|
D | test_descr.py | 3267 def __getnewargs__(self): member in ClassPropertiesAndMethods.test_pickles.C1 3279 def __getnewargs__(self): member in ClassPropertiesAndMethods.test_pickles.C2
|
/external/python/cpython3/Lib/test/ |
D | test_complex.py | 499 self.assertEqual((1+2j).__getnewargs__(), (1.0, 2.0)) 500 self.assertEqual((1-2j).__getnewargs__(), (1.0, -2.0)) 501 self.assertEqual((2j).__getnewargs__(), (0.0, 2.0)) 502 self.assertEqual((-0j).__getnewargs__(), (0.0, -0.0)) 503 self.assertEqual(complex(0, INF).__getnewargs__(), (0.0, INF)) 504 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 | 4806 def __getnewargs__(self): member in PicklingTests.test_reduce.C1 4818 def __getnewargs__(self): member in PicklingTests.test_reduce.C2 5084 def __getnewargs__(cls): member in PicklingTests.test_reduce_copying.C2 5121 def __getnewargs__(cls): member in PicklingTests.test_reduce_copying.C4
|
D | pickletester.py | 2518 def __getnewargs__(self): member in ComplexNewObj
|
D | test_collections.py | 398 self.assertEqual(t.__getnewargs__(), values)
|
D | test_unicode.py | 2332 args = text.__getnewargs__()
|
D | test_enum.py | 1056 def __getnewargs__(self): member in TestEnum.test_subclasses_with_getnewargs.NamedInt
|
/external/llvm/utils/lit/lit/ |
D | Test.py | 18 def __getnewargs__(self): member in ResultCode
|
/external/libmojo/third_party/jinja2/ |
D | utils.py | 326 def __getnewargs__(self): member in LRUCache
|
/external/python/cpython3/Doc/library/ |
D | pickle.rst | 505 compatibility to implement :meth:`__getnewargs__`. 511 .. method:: object.__getnewargs__() 517 :meth:`__getnewargs__` will not be called if :meth:`__getnewargs_ex__` is 521 Before Python 3.6, :meth:`__getnewargs__` was called instead of 555 true, the type should implement :meth:`__getnewargs__` or
|
D | enum.rst | 961 class are correct (such as :meth:`__new__`, :meth:`__getnewargs__`,
|
D | unittest.mock.rst | 1679 ``__getnewargs__``, ``__getstate__`` and ``__setstate__`` 1806 * ``__reduce__``, ``__reduce_ex__``, ``__getinitargs__``, ``__getnewargs__``,
|
D | collections.rst | 1179 New methods ``__getnewargs__``, ``__rmod__``, ``casefold``,
|
/external/python/cpython2/Doc/library/ |
D | pickle.rst | 426 .. method:: object.__getnewargs__() 428 New-style types can provide a :meth:`__getnewargs__` method that is used for 437 where *args* is the result of calling :meth:`__getnewargs__` on the original 438 object; if there is no :meth:`__getnewargs__`, an empty tuple is assumed. 468 :meth:`__getnewargs__` to establish such an invariant; otherwise, neither
|
D | collections.rst | 637 def __getnewargs__(self):
|
/external/python/cpython3/Lib/collections/ |
D | __init__.py | 1117 def __getnewargs__(self): member in UserString
|
/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 | 1282 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
|
/external/python/cpython3/Objects/ |
D | typeobject.c | 4049 _Py_IDENTIFIER(__getnewargs__); in _PyObject_GetNewArguments()
|