From: Ezio Melotti Date: Sun, 3 Jan 2010 09:09:55 +0000 (+0000) Subject: :stmt: -> :keyword: X-Git-Tag: v2.7a2~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=722a8a95b774073eafabd5dbe69c864b28e76c8d;p=python :stmt: -> :keyword: --- diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst index c2847e8c95..6ef31d226f 100644 --- a/Doc/c-api/structures.rst +++ b/Doc/c-api/structures.rst @@ -283,7 +283,7 @@ definition with the same method name. :cmacro:`T_OBJECT` returns ``None`` if the member is *NULL* and :cmacro:`T_OBJECT_EX` raises an :exc:`AttributeError`. Try to use :cmacro:`T_OBJECT_EX` over :cmacro:`T_OBJECT` because :cmacro:`T_OBJECT_EX` - handles use of the :stmt:`del` statement on that attribute more correctly + handles use of the :keyword:`del` statement on that attribute more correctly than :cmacro:`T_OBJECT`. :attr:`flags` can be 0 for write and read access or :cmacro:`READONLY` for