Home
last modified time | relevance | path

Searched refs:func_doc (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_funcattrs.py313 self.assertEqual(self.b.func_doc, None)
317 self.assertEqual(self.b.func_doc, docstr)
327 self.assertEqual(self.b.func_doc, None)
328 self.b.func_doc = "The docstring"
329 del self.b.func_doc
331 self.assertEqual(self.b.func_doc, None)
/external/python/cpython2/Objects/
Dfuncobject.c37 op->func_doc = doc; in PyFunction_New()
164 {"func_doc", T_OBJECT, OFF(func_doc), PY_WRITE_RESTRICTED},
165 {"__doc__", T_OBJECT, OFF(func_doc), PY_WRITE_RESTRICTED},
344 PyDoc_STRVAR(func_doc,
456 Py_XDECREF(op->func_doc); in func_dealloc()
477 Py_VISIT(f->func_doc); in func_traverse()
565 func_doc, /* tp_doc */
/external/python/cpython3/Objects/
Dfuncobject.c47 op->func_doc = doc; in PyFunction_NewWithQualName()
237 {"__doc__", T_OBJECT, OFF(func_doc), PY_WRITE_RESTRICTED},
538 Py_XDECREF(op->func_doc); in func_dealloc()
561 Py_VISIT(f->func_doc); in func_traverse()
/external/python/cpython2/Include/
Dfuncobject.h27 PyObject *func_doc; /* The __doc__ attribute, can be anything */ member
/external/python/cpython3/Include/
Dfuncobject.h28 PyObject *func_doc; /* The __doc__ attribute, can be anything */ member
/external/python/cpython2/Doc/library/
Dinspect.rst80 | | func_doc | (same as __doc__) | |
/external/python/cpython3/Doc/whatsnew/
D3.0.rst786 :attr:`func_dict`, :attr:`func_doc`, :attr:`func_globals`,
/external/python/cpython2/Doc/reference/
Ddatamodel.rst493 single: func_doc (function attribute)
506 | :attr:`func_doc` | string, or ``None`` if | |
/external/python/cpython2/Misc/
Dcheatsheet1252 func_doc (R/W): same as __doc__
DHISTORY11542 func_defaults and func_doc / __doc__. (With type checks except for
11543 __doc__ / func_doc .)
/external/python/cpython3/Misc/
DHISTORY28921 func_defaults and func_doc / __doc__. (With type checks except for
28922 __doc__ / func_doc .)