diff options
Diffstat (limited to 'Doc/c-api')
| -rw-r--r-- | Doc/c-api/slice.rst | 1 | ||||
| -rw-r--r-- | Doc/c-api/typeobj.rst | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/Doc/c-api/slice.rst b/Doc/c-api/slice.rst index f17915f554..f33cd533c2 100644 --- a/Doc/c-api/slice.rst +++ b/Doc/c-api/slice.rst @@ -48,4 +48,3 @@ Slice Objects normal slices. Returns 0 on success and -1 on error with exception set. - diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index ab55292a57..7aa827af88 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -705,7 +705,9 @@ type objects) *must* have the :attr:`ob_size` field. This field is not inherited by subtypes (computed attributes are inherited through a different mechanism). - Docs for PyGetSetDef (XXX belong elsewhere):: + .. XXX belongs elsewhere + + Docs for PyGetSetDef:: typedef PyObject *(*getter)(PyObject *, void *); typedef int (*setter)(PyObject *, PyObject *, void *); @@ -752,7 +754,7 @@ type objects) *must* have the :attr:`ob_size` field. PyObject * tp_descr_get(PyObject *self, PyObject *obj, PyObject *type); - XXX explain. + .. XXX explain. This field is inherited by subtypes. @@ -767,7 +769,7 @@ type objects) *must* have the :attr:`ob_size` field. This field is inherited by subtypes. - XXX explain. + .. XXX explain. .. cmember:: long PyTypeObject.tp_dictoffset |
