Home
last modified time | relevance | path

Searched refs:tp_doc (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython2/Doc/includes/
Dtypestruct.h35 char *tp_doc; /* Documentation string */ member
/external/python/cpython3/Doc/includes/
Dtypestruct.h36 const char *tp_doc; /* Documentation string */ member
/external/python/cpython3/Objects/
Dtypeslots.inc57 offsetof(PyHeapTypeObject, ht_type.tp_doc),
Dtypeobject.c774 if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE) && type->tp_doc != NULL) { in type_get_doc()
775 return _PyType_GetDocFromInternalDoc(type->tp_name, type->tp_doc); in type_get_doc()
795 return _PyType_GetTextSignatureFromInternalDoc(type->tp_name, type->tp_doc); in type_get_text_signature()
2576 char *tp_doc; in type_new() local
2583 tp_doc = (char *)PyObject_MALLOC(len + 1); in type_new()
2584 if (tp_doc == NULL) { in type_new()
2588 memcpy(tp_doc, doc_str, len + 1); in type_new()
2589 type->tp_doc = tp_doc; in type_new()
2832 char *tp_doc = PyObject_MALLOC(len); in PyType_FromSpecWithBases() local
2833 if (tp_doc == NULL) { in PyType_FromSpecWithBases()
[all …]
Dstructseq.c348 type->tp_doc = desc->doc; in PyStructSequence_InitType2()
/external/python/cpython2/Objects/
Dmethodobject.c362 const char *doc = self->ob_type->tp_doc; in Py_FindMethodInChain()
Dtypeobject.c595 if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE) && type->tp_doc != NULL) in type_get_doc()
596 return PyString_FromString(type->tp_doc); in type_get_doc()
2418 char *tp_doc = (char *)PyObject_MALLOC(n+1); in type_new() local
2419 if (tp_doc == NULL) { in type_new()
2423 memcpy(tp_doc, PyString_AS_STRING(doc), n+1); in type_new()
2424 type->tp_doc = tp_doc; in type_new()
2721 PyObject_Free((char *)type->tp_doc); in type_dealloc()
4207 if (type->tp_doc != NULL) {
4208 PyObject *doc = PyString_FromString(type->tp_doc);
Dstructseq.c499 type->tp_doc = desc->doc; in PyStructSequence_InitType()
/external/python/cpython2/Include/
Dobject.h358 const char *tp_doc; /* Documentation string */ member
/external/python/cpython3/Include/
Dobject.h381 const char *tp_doc; /* Documentation string */ member
/external/python/cpython2/Modules/
Dthreadmodule.c922 Locktype.tp_doc = lock_doc; in initthread()
/external/python/cpython3/Modules/
D_asynciomodule.c904 .tp_doc = _asyncio_Future___init____doc__,
1795 .tp_doc = _asyncio_Task___init____doc__,
D_threadmodule.c1391 Locktype.tp_doc = lock_doc; in PyInit__thread()
/external/python/cpython3/Doc/extending/
Dnewtypes.rst99 "Noddy objects", /* tp_doc */
169 We provide a doc string for the type in :c:member:`~PyTypeObject.tp_doc`. ::
171 "Noddy objects", /* tp_doc */
917 const char *tp_doc;
1445 0, /* tp_doc */
/external/python/cpython2/Doc/extending/
Dnewtypes.rst103 "Noddy objects", /* tp_doc */
179 We provide a doc string for the type in :c:member:`~PyTypeObject.tp_doc`. ::
181 "Noddy objects", /* tp_doc */
944 char *tp_doc;
1508 0, /* tp_doc */
/external/python/cpython3/PC/
Dwinreg.c1882 PyHKEY_Type.tp_doc = PyHKEY_doc; in PyInit_winreg()
/external/python/cpython2/PC/
D_winreg.c1805 PyHKEY_Type.tp_doc = PyHKEY_doc; in init_winreg()
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst480 .. c:member:: const char* PyTypeObject.tp_doc
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst571 .. c:member:: char* PyTypeObject.tp_doc
/external/python/cpython2/Misc/
DHISTORY15156 object's tp_doc field contains the doc string for the type, and the
/external/python/cpython3/Misc/
DHISTORY32535 object's tp_doc field contains the doc string for the type, and the