/third_party/python/Doc/includes/ |
D | sublist.c | 25 if (PyList_Type.tp_init((PyObject *) self, args, kwds) < 0) in SubList_init() 38 .tp_init = (initproc) SubList_init,
|
D | typestruct.h | 66 initproc tp_init; member
|
D | custom2.c | 106 .tp_init = (initproc) Custom_init,
|
D | custom3.c | 156 .tp_init = (initproc) Custom_init,
|
D | custom4.c | 168 .tp_init = (initproc) Custom_init,
|
/third_party/python/Modules/ |
D | xxsubtype.c | 85 if (PyList_Type.tp_init((PyObject *)self, args, kwds) < 0) in spamlist_init() 182 if (PyDict_Type.tp_init((PyObject *)self, args, kwds) < 0) in spamdict_init()
|
D | _threadmodule.c | 779 if (type->tp_init == PyBaseObject_Type.tp_init) { in local_new() 912 if (Py_TYPE(self)->tp_init != PyBaseObject_Type.tp_init && in _ldict() 913 Py_TYPE(self)->tp_init((PyObject*)self, in _ldict()
|
D | _asynciomodule.c | 1548 .tp_init = (initproc)_asyncio_Future___init__, 2505 .tp_init = (initproc)_asyncio_Task___init__,
|
D | _collectionsmodule.c | 2232 result = PyDict_Type.tp_init(self, newargs, kwds); in defdict_init()
|
/third_party/python/Doc/extending/ |
D | newtypes_tutorial.rst | 332 arguments, leaving the argument handling to initializer (a.k.a. ``tp_init`` 336 ``tp_new`` shouldn't call ``tp_init`` explicitly, as the interpreter 393 by filling the :c:member:`~PyTypeObject.tp_init` slot. :: 395 .tp_init = (initproc) Custom_init, 397 The :c:member:`~PyTypeObject.tp_init` slot is exposed in Python as the 402 Unlike the ``tp_new`` handler, there is no guarantee that ``tp_init`` 617 We also need to update the :c:member:`~PyTypeObject.tp_init` handler to only 839 if (PyList_Type.tp_init((PyObject *) self, args, kwds) < 0)
|
/third_party/python/Objects/ |
D | typeslots.inc | 61 {-1, offsetof(PyTypeObject, tp_init)},
|
D | typeobject.c | 1132 if (type->tp_init != NULL) { in type_call() 1133 int res = type->tp_init(obj, args, kwds); in type_call() 4430 if (type->tp_init != object_init) { in object_init() 4454 if (type->tp_init == object_init) { in object_new() 5925 COPYSLOT(tp_init); in inherit_slots() 7951 FLSLOT("__init__", tp_init, slot_tp_init, (wrapperfunc)(void(*)(void))wrap_init,
|
D | exceptions.c | 959 if (type->tp_init != (initproc) OSError_init && in oserror_use_init() 2964 if (caught_type->tp_init != (initproc)BaseException_init || in _PyErr_TrySetFromCause()
|
/third_party/python/Include/cpython/ |
D | object.h | 256 initproc tp_init; member
|
/third_party/alsa-lib/modules/mixer/simple/ |
D | python.c | 713 tp_init: (initproc)pymelem_init, 894 tp_init: (initproc)pymixer_init,
|
/third_party/python/Doc/c-api/ |
D | typeobj.rst | 122 …| :c:member:`~PyTypeObject.tp_init` | :c:type:`initproc` | __init__ … 1755 .. c:member:: initproc PyTypeObject.tp_init 1766 int tp_init(PyObject *self, PyObject *args, PyObject *kwds); 1772 The :c:member:`~PyTypeObject.tp_init` function, if not ``NULL``, is called when an instance is 1776 …:c:member:`~PyTypeObject.tp_init` function is called; if :c:member:`~PyTypeObject.tp_new` returns … 1777 subtype of the original type, the subtype's :c:member:`~PyTypeObject.tp_init` is called. 1831 ignored or repeated should be placed in the :c:member:`~PyTypeObject.tp_init` handler. A good 1834 deferred to :c:member:`~PyTypeObject.tp_init`. 2500 See :c:member:`~PyTypeObject.tp_init`. 2643 0, /* tp_init */
|
D | call.rst | 26 :c:member:`~PyTypeObject.tp_new` and :c:member:`~PyTypeObject.tp_init`
|
/third_party/python/Modules/_ctypes/ |
D | stgdict.c | 22 if (PyDict_Type.tp_init((PyObject *)self, args, kwds) < 0) in PyCStgDict_init()
|
/third_party/libinput/src/ |
D | evdev-mt-touchpad.c | 3606 tp_init(struct tp_dispatch *tp, in tp_init() function 3846 if (!tp_init(tp, device)) { in evdev_mt_touchpad_create()
|
/third_party/python/Doc/howto/ |
D | clinic.rst | 1398 tp_new and tp_init functions 1401 You can convert ``tp_new`` and ``tp_init`` functions. Just name
|
/third_party/python/Misc/NEWS.d/ |
D | 3.9.0a1.rst | 5661 and ``tp_init`` when calling the class itself.
|
/third_party/python/Misc/ |
D | HISTORY | 2764 the type of tp_init.
|