Home
last modified time | relevance | path

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

12

/external/python/cpython3/Doc/includes/
Dcustom.c11 .tp_doc = "Custom objects",
Dsublist.c33 .tp_doc = "SubList objects",
Dtypestruct.h36 const char *tp_doc; /* Documentation string */ member
Dcustom2.c100 .tp_doc = "Custom objects",
Dcustom3.c150 .tp_doc = "Custom objects",
Dcustom4.c162 .tp_doc = "Custom objects",
/external/python/cpython2/Doc/includes/
Dtypestruct.h35 char *tp_doc; /* Documentation string */ member
/external/python/cpython3/Objects/
Dtypeslots.inc57 offsetof(PyHeapTypeObject, ht_type.tp_doc),
Dtypeobject.c803 if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE) && type->tp_doc != NULL) { in type_get_doc()
804 return _PyType_GetDocFromInternalDoc(type->tp_name, type->tp_doc); in type_get_doc()
824 return _PyType_GetTextSignatureFromInternalDoc(type->tp_name, type->tp_doc); in type_get_text_signature()
2666 char *tp_doc; in type_new() local
2673 tp_doc = (char *)PyObject_MALLOC(len + 1); in type_new()
2674 if (tp_doc == NULL) { in type_new()
2678 memcpy(tp_doc, doc_str, len + 1); in type_new()
2679 type->tp_doc = tp_doc; in type_new()
2939 char *tp_doc = PyObject_MALLOC(len); in PyType_FromSpecWithBases() local
2940 if (tp_doc == NULL) { in PyType_FromSpecWithBases()
[all …]
Dstructseq.c356 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()
2421 char *tp_doc = (char *)PyObject_MALLOC(n+1); in type_new() local
2422 if (tp_doc == NULL) { in type_new()
2426 memcpy(tp_doc, PyString_AS_STRING(doc), n+1); in type_new()
2427 type->tp_doc = tp_doc; in type_new()
2761 PyObject_Free((char *)type->tp_doc); in type_dealloc()
4270 if (type->tp_doc != NULL) {
4271 PyObject *doc = PyString_FromString(type->tp_doc);
Dstructseq.c499 type->tp_doc = desc->doc; in PyStructSequence_InitType()
/external/python/cpython3/Modules/
D_abc.c829 _abc_data_type.tp_doc = abc_data_doc; in PyInit__abc()
D_threadmodule.c1388 Locktype.tp_doc = lock_doc; in PyInit__thread()
D_asynciomodule.c1445 .tp_doc = _asyncio_Future___init____doc__,
2419 .tp_doc = _asyncio_Task___init____doc__,
/external/python/cpython2/Modules/
Dthreadmodule.c922 Locktype.tp_doc = lock_doc; in initthread()
/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/cpython3/Doc/extending/
Dnewtypes_tutorial.rst92 .tp_doc = "Custom objects",
160 We provide a doc string for the type in :c:member:`~PyTypeObject.tp_doc`. ::
162 .tp_doc = "Custom objects",
Dnewtypes.rst42 const char *tp_doc;
/external/python/cpython2/Doc/extending/
Dnewtypes.rst102 "Noddy objects", /* tp_doc */
171 We provide a doc string for the type in :c:member:`~PyTypeObject.tp_doc`. ::
173 "Noddy objects", /* tp_doc */
947 char *tp_doc;
1512 0, /* tp_doc */
/external/python/cpython3/PC/
Dwinreg.c1890 PyHKEY_Type.tp_doc = PyHKEY_doc; in PyInit_winreg()
/external/python/cpython2/PC/
D_winreg.c1804 PyHKEY_Type.tp_doc = PyHKEY_doc; in init_winreg()
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst480 .. c:member:: const char* PyTypeObject.tp_doc

12