Home
last modified time | relevance | path

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

12

/third_party/python/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
Dtest_unicode.py2382 args = text.__getnewargs__()
Dtest_collections.py641 self.assertEqual(t.__getnewargs__(), values)
Dpickletester.py3297 def __getnewargs__(self): member in ComplexNewObj
Dtest_enum.py1252 def __getnewargs__(self): member in TestEnum.test_subclasses_with_getnewargs.NamedInt
/third_party/PyYAML/tests/lib/
Dtest_constructor.py162 def __getnewargs__(self): member in _make_objects.NewArgs
168 def __getnewargs__(self): member in _make_objects.NewArgsWithState
/third_party/python/Lib/collections/
D__init__.py447 def __getnewargs__(self): function
458 __getnewargs__,
474 '__getnewargs__': __getnewargs__,
1335 def __getnewargs__(self): member in UserString
/third_party/node/tools/inspector_protocol/jinja2/
Dutils.py338 def __getnewargs__(self): member in LRUCache
/third_party/node/deps/v8/third_party/jinja2/
Dutils.py373 def __getnewargs__(self): member in LRUCache
/third_party/skia/third_party/externals/jinja2/
Dutils.py373 def __getnewargs__(self): member in LRUCache
/third_party/jinja2/
Dutils.py453 def __getnewargs__(self) -> t.Tuple: member in LRUCache
/third_party/python/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__`,
Dunittest.mock.rst2030 ``__getnewargs__``, ``__getstate__`` and ``__setstate__``
2166 * ``__reduce__``, ``__reduce_ex__``, ``__getinitargs__``, ``__getnewargs__``,
Dcollections.rst1366 New methods ``__getnewargs__``, ``__rmod__``, ``casefold``,
/third_party/python/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
D3.6.0a1.rst459 __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no
/third_party/python/Lib/email/
D_header_value_parser.py909 def __getnewargs__(self): member in Terminal
/third_party/python/Lib/
Dturtle.py275 def __getnewargs__(self): member in Vec2D
/third_party/python/Tools/c-analyzer/
DTODO433 Objects/typeobject.c:_PyObject_GetNewArguments():PyId___getnewargs__ _Py_IDENTIFIER(__getnewargs__)
/third_party/python/Doc/whatsnew/
D3.5.rst931 :meth:`__getnewargs__`, :meth:`__rmod__`, :meth:`~str.casefold`,
/third_party/python/Objects/
Dtypeobject.c5032 _Py_IDENTIFIER(__getnewargs__); in _PyObject_GetNewArguments()

12