Home
last modified time | relevance | path

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

12

/external/python/cpython3/Doc/includes/
Dcustom.c12 .tp_doc = "Custom objects",
Dtypestruct.h36 const char *tp_doc; /* Documentation string */ member
Dsublist.c34 .tp_doc = "SubList objects",
Dcustom2.c101 .tp_doc = "Custom objects",
Dcustom3.c151 .tp_doc = "Custom objects",
Dcustom4.c163 .tp_doc = "Custom objects",
/external/python/pybind11/include/pybind11/detail/
Dclass.h624 char *tp_doc = nullptr; in make_new_python_type() local
629 tp_doc = (char *) PyObject_MALLOC(size); in make_new_python_type()
630 memcpy((void *) tp_doc, rec.doc, size); in make_new_python_type()
656 type->tp_doc = tp_doc; in make_new_python_type()
/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),
Dpicklebufobject.c209 .tp_doc = "Wrapper for potentially out-of-band buffers",
Dtypeobject.c862 if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE) && type->tp_doc != NULL) { in type_get_doc()
863 return _PyType_GetDocFromInternalDoc(type->tp_name, type->tp_doc); in type_get_doc()
885 return _PyType_GetTextSignatureFromInternalDoc(type->tp_name, type->tp_doc); in type_get_text_signature()
2689 char *tp_doc; in type_new() local
2696 tp_doc = (char *)PyObject_MALLOC(len + 1); in type_new()
2697 if (tp_doc == NULL) { in type_new()
2701 memcpy(tp_doc, doc_str, len + 1); in type_new()
2702 type->tp_doc = tp_doc; in type_new()
3020 char *tp_doc = PyObject_MALLOC(len); in PyType_FromModuleAndSpec() local
3021 if (tp_doc == NULL) { in PyType_FromModuleAndSpec()
[all …]
Dstructseq.c410 type->tp_doc = desc->doc; in PyStructSequence_InitType2()
Dgenericaliasobject.c587 .tp_doc = "Represent a PEP 585 generic type\n"
/external/tensorflow/tensorflow/python/util/
Dfast_module_type.cc236 obj.tp_doc = "FastModuleType objects"; in __anona71ec8820102()
/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/Include/cpython/
Dobject.h228 const char *tp_doc; /* Documentation string */ member
/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/Doc/extending/
Dnewtypes_tutorial.rst92 .tp_doc = "Custom objects",
161 We provide a doc string for the type in :c:member:`~PyTypeObject.tp_doc`. ::
163 .tp_doc = "Custom objects",
/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/Doc/c-api/
Dtypeobj.rst86 …| :c:member:`~PyTypeObject.tp_doc` | const char * | __doc__ …
1171 .. c:member:: const char* PyTypeObject.tp_doc
2466 .tp_doc = "My objects",
2496 "My objects", /* tp_doc */
2529 .tp_doc = "My objects",
2556 .tp_doc = "my custom str",
/external/python/cpython3/Modules/
D_threadmodule.c1605 Locktype.tp_doc = lock_doc; in PyInit__thread()
D_asynciomodule.c1537 .tp_doc = _asyncio_Future___init____doc__,
2539 .tp_doc = _asyncio_Task___init____doc__,

12