:stmt: -> :keyword:

This commit is contained in:
Ezio Melotti 2010-01-03 09:09:55 +00:00
parent 5129ed38c3
commit 722a8a95b7
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ definition with the same method name.
:cmacro:`T_OBJECT` returns ``None`` if the member is *NULL* and :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` raises an :exc:`AttributeError`. Try to use
:cmacro:`T_OBJECT_EX` over :cmacro:`T_OBJECT` because :cmacro:`T_OBJECT_EX` :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`. than :cmacro:`T_OBJECT`.
:attr:`flags` can be 0 for write and read access or :cmacro:`READONLY` for :attr:`flags` can be 0 for write and read access or :cmacro:`READONLY` for