Home
last modified time | relevance | path

Searched refs:__getinitargs__ (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Lib/
Dcopy.py127 args = x.__getinitargs__()
287 args = x.__getinitargs__()
Dpickle.py704 args = obj.__getinitargs__()
/external/python/cpython2/Lib/test/
Dtest_copy.py170 def __getinitargs__(self): member in TestCopy.test_copy_inst_getinitargs.C
393 def __getinitargs__(self): member in TestCopy.test_deepcopy_inst_getinitargs.C
Dpickletester.py144 def __getinitargs__(self): member in E
158 def __getinitargs__(self): member in I
194 def __getinitargs__(self): member in initarg
/external/python/cpython3/Lib/test/
Dtest_copy.py184 def __getinitargs__(self): member in TestCopy.test_copy_inst_getinitargs.C
477 def __getinitargs__(self): member in TestCopy.test_deepcopy_inst_getinitargs.C
Dpickletester.py105 def __getinitargs__(self): member in E
142 def __getinitargs__(self): member in initarg
/external/python/cpython2/Doc/library/
Dpickle.rst416 .. method:: object.__getinitargs__()
421 :meth:`__getinitargs__`, which should return a *tuple* of positional
423 example). Keyword arguments are not supported. The :meth:`__getinitargs__`
468 true, the type should implement either :meth:`__getinitargs__` or
/external/python/cpython3/Lib/
Ddatetime.py2163 def __getinitargs__(self): member in timezone
/external/python/cpython3/Doc/library/
Dunittest.mock.rst1712 * Pickling: ``__reduce__``, ``__reduce_ex__``, ``__getinitargs__``,
1840 * ``__reduce__``, ``__reduce_ex__``, ``__getinitargs__``, ``__getnewargs__``,
/external/python/cpython2/Modules/
DcPickle.c5887 INIT_STR(__getinitargs__); in init_stuff()
/external/python/cpython3/Modules/
D_datetimemodule.c3505 _Py_IDENTIFIER(__getinitargs__); in tzinfo_reduce()
D_pickle.c5338 _Py_IDENTIFIER(__getinitargs__); in instantiate()
/external/python/cpython2/Misc/
DHISTORY12383 class that doesn't define the __getinitargs__() method, the __init__()
12386 To force calling __init__() on unpickling, define a __getinitargs__()
12859 - copy.py: Make sure the objects returned by __getinitargs__() are
12862 __getinitargs__() to return a tuple that happens to be allocated at
/external/python/cpython3/Misc/
DHISTORY29762 class that doesn't define the __getinitargs__() method, the __init__()
29765 To force calling __init__() on unpickling, define a __getinitargs__()
30238 - copy.py: Make sure the objects returned by __getinitargs__() are
30241 __getinitargs__() to return a tuple that happens to be allocated at