Home
last modified time | relevance | path

Searched refs:__getinitargs__ (Results 1 – 7 of 7) 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/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/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