cpython: 5d51ac0be72a (original) (raw)

Mercurial > cpython

changeset 105569:5d51ac0be72a 3.5

Issue #28771: Update tp_get/setattr signature documentation [#28771]

Martin Panter vadmium+py@gmail.com
date Sat, 10 Dec 2016 05:56:13 +0000
parents 8e36c04d0e3e
children ee8c8b79d1d5 1a955981b263
files Doc/c-api/typeobj.rst
diffstat 1 files changed, 7 insertions(+), 5 deletions(-)[+] [-] Doc/c-api/typeobj.rst 12

line wrap: on

line diff

--- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst @@ -199,8 +199,9 @@ type objects) must have the :attr:ob_[](#l1.3) [](#l1.4) This field is deprecated. When it is defined, it should point to a function[](#l1.5) that acts the same as the :c:member:~PyTypeObject.tp_getattro` function, but taking a C string

This field is inherited by subtypes together with :c:member:~PyTypeObject.tp_getattro: a subtype inherits both :c:member:~PyTypeObject.tp_getattr and :c:member:~PyTypeObject.tp_getattro from its base type when @@ -213,10 +214,11 @@ type objects) must have the :attr:ob_[](#l1.15) [](#l1.16) This field is deprecated. When it is defined, it should point to a function[](#l1.17) that acts the same as the :c:member:~PyTypeObject.tp_setattro` function, but taking a C string

+