Searched refs:__getinitargs__ (Results 1 – 7 of 7) sorted by relevance
127 args = x.__getinitargs__()287 args = x.__getinitargs__()
704 args = obj.__getinitargs__()
170 def __getinitargs__(self): member in TestCopy.test_copy_inst_getinitargs.C393 def __getinitargs__(self): member in TestCopy.test_deepcopy_inst_getinitargs.C
144 def __getinitargs__(self): member in E181 def __getinitargs__(self): member in initarg
416 .. method:: object.__getinitargs__()421 :meth:`__getinitargs__`, which should return a *tuple* containing the423 example). The :meth:`__getinitargs__` method is called at pickle time; the467 true, the type should implement either :meth:`__getinitargs__` or
3885 PyObject *__getinitargs__; in Instance_New() local3887 __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()
12383 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__() are12862 __getinitargs__() to return a tuple that happens to be allocated at