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
181 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.py101 def __getinitargs__(self): member in E
138 def __getinitargs__(self): member in initarg
/external/python/cpython2/Doc/library/
Dpickle.rst416 .. method:: object.__getinitargs__()
421 :meth:`__getinitargs__`, which should return a *tuple* containing the
423 example). The :meth:`__getinitargs__` method is called at pickle time; the
467 true, the type should implement either :meth:`__getinitargs__` or
/external/python/cpython2/Modules/
DcPickle.c3885 PyObject *__getinitargs__; in Instance_New() local
3887 __getinitargs__ = PyObject_GetAttr(cls, in Instance_New()
3889 if (!__getinitargs__) { in Instance_New()
3899 Py_DECREF(__getinitargs__); in Instance_New()
5901 INIT_STR(__getinitargs__); in init_stuff()
/external/python/cpython3/Lib/
Ddatetime.py1979 def __getinitargs__(self): member in timezone
/external/python/cpython3/Doc/library/
Dunittest.mock.rst1678 * Pickling: ``__reduce__``, ``__reduce_ex__``, ``__getinitargs__``,
1806 * ``__reduce__``, ``__reduce_ex__``, ``__getinitargs__``, ``__getnewargs__``,
/external/python/cpython3/Modules/
D_datetimemodule.c3145 _Py_IDENTIFIER(__getinitargs__); in tzinfo_reduce()
D_pickle.c5169 _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