diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-27 18:41:19 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-27 18:41:19 (GMT) |
commit | 1ecf7d204dd3abb143f53851c31fefd4ef887314 (patch) | |
tree | 9cd727d732a82c41d4522b1fd405f408d4718f61 /Doc/c-api/structures.rst | |
parent | b29cee40ee948731f239cc3a200c62ea3dbabc9f (diff) | |
download | cpython-1ecf7d204dd3abb143f53851c31fefd4ef887314.zip cpython-1ecf7d204dd3abb143f53851c31fefd4ef887314.tar.gz cpython-1ecf7d204dd3abb143f53851c31fefd4ef887314.tar.bz2 |
Issue #28496: Mark up constants 0, 1 and -1 that denote return values or
special input values as literal text.
Diffstat (limited to 'Doc/c-api/structures.rst')
-rw-r--r-- | Doc/c-api/structures.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst index cc84314..3e8a90c 100644 --- a/Doc/c-api/structures.rst +++ b/Doc/c-api/structures.rst @@ -290,7 +290,7 @@ definition with the same method name. handles use of the :keyword:`del` statement on that attribute more correctly than :c:macro:`T_OBJECT`. - :attr:`flags` can be 0 for write and read access or :c:macro:`READONLY` for + :attr:`flags` can be ``0`` for write and read access or :c:macro:`READONLY` for read-only access. Using :c:macro:`T_STRING` for :attr:`type` implies :c:macro:`READONLY`. Only :c:macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX` members can be deleted. (They are set to *NULL*). |