diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-27 21:41:19 +0300 |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-27 21:41:19 +0300 |
| commit | 1ecf7d204dd3abb143f53851c31fefd4ef887314 (patch) | |
| tree | 9cd727d732a82c41d4522b1fd405f408d4718f61 /Doc/c-api/long.rst | |
| parent | b29cee40ee948731f239cc3a200c62ea3dbabc9f (diff) | |
| download | cpython-git-1ecf7d204dd3abb143f53851c31fefd4ef887314.tar.gz | |
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/long.rst')
| -rw-r--r-- | Doc/c-api/long.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst index b3480159c0..68f6a8ec49 100644 --- a/Doc/c-api/long.rst +++ b/Doc/c-api/long.rst @@ -232,7 +232,7 @@ All integers are implemented as "long" integer objects of arbitrary size. method (if present) to convert it to a :c:type:`PyLongObject`. If the value of *obj* is out of range for an :c:type:`unsigned long`, - return the reduction of that value modulo :const:`ULONG_MAX + 1`. + return the reduction of that value modulo ``ULONG_MAX + 1``. .. c:function:: unsigned PY_LONG_LONG PyLong_AsUnsignedLongLongMask(PyObject *obj) @@ -242,7 +242,7 @@ All integers are implemented as "long" integer objects of arbitrary size. method (if present) to convert it to a :c:type:`PyLongObject`. If the value of *obj* is out of range for an :c:type:`unsigned long long`, - return the reduction of that value modulo :const:`PY_ULLONG_MAX + 1`. + return the reduction of that value modulo ``PY_ULLONG_MAX + 1``. .. c:function:: double PyLong_AsDouble(PyObject *pylong) |
