Searched defs:tp_doc (Results 1 - 6 of 6) sorted by relevance

/external/python/cpython2/Doc/includes/
H A Dtypestruct.h35 char *tp_doc; /* Documentation string */ member in struct:_typeobject
/external/python/cpython3/Doc/includes/
H A Dtypestruct.h36 const char *tp_doc; /* Documentation string */ member in struct:_typeobject
/external/python/cpython2/Include/
H A Dobject.h358 const char *tp_doc; /* Documentation string */ member in struct:_typeobject
/external/python/cpython3/Include/
H A Dobject.h381 const char *tp_doc; /* Documentation string */ member in struct:_typeobject
/external/python/cpython2/Objects/
H A Dtypeobject.c595 if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE) && type->tp_doc != NULL)
596 return PyString_FromString(type->tp_doc);
2410 /* Set tp_doc to a copy of dict['__doc__'], if the latter is there
2411 and is a string. The __doc__ accessor will first look for tp_doc;
2418 char *tp_doc = (char *)PyObject_MALLOC(n+1); local
2419 if (tp_doc == NULL) {
2423 memcpy(tp_doc, PyString_AS_STRING(doc), n+1);
2424 type->tp_doc = tp_doc;
2718 /* A type's tp_doc i
[all...]
/external/python/cpython3/Objects/
H A Dtypeobject.c774 if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE) && type->tp_doc != NULL) {
775 return _PyType_GetDocFromInternalDoc(type->tp_name, type->tp_doc);
795 return _PyType_GetTextSignatureFromInternalDoc(type->tp_name, type->tp_doc);
2567 /* Set tp_doc to a copy of dict['__doc__'], if the latter is there
2568 and is a string. The __doc__ accessor will first look for tp_doc;
2576 char *tp_doc; local
2583 tp_doc = (char *)PyObject_MALLOC(len + 1);
2584 if (tp_doc == NULL) {
2588 memcpy(tp_doc, doc_str, len + 1);
2589 type->tp_doc
2832 char *tp_doc = PyObject_MALLOC(len); local
[all...]

Completed in 319 milliseconds