diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2019-10-30 19:37:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-30 19:37:16 (GMT) |
commit | e835b31d2b212c3c7820364398979cae2a9740b2 (patch) | |
tree | b4480396678dc575c8f183f0e5add28ee7f36604 /Doc/c-api/number.rst | |
parent | 1d8da61f5ad26274556e0bbce260ce292d0402a1 (diff) | |
download | cpython-e835b31d2b212c3c7820364398979cae2a9740b2.zip cpython-e835b31d2b212c3c7820364398979cae2a9740b2.tar.gz cpython-e835b31d2b212c3c7820364398979cae2a9740b2.tar.bz2 |
bpo-38600: NULL -> ``NULL``. (GH-17001)
Also fix some other formatting.
Diffstat (limited to 'Doc/c-api/number.rst')
-rw-r--r-- | Doc/c-api/number.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/number.rst b/Doc/c-api/number.rst index 55ddb9c..620204c 100644 --- a/Doc/c-api/number.rst +++ b/Doc/c-api/number.rst @@ -275,8 +275,8 @@ Number Protocol convert to a Py_ssize_t value would raise an :exc:`OverflowError`, then the *exc* argument is the type of exception that will be raised (usually :exc:`IndexError` or :exc:`OverflowError`). If *exc* is ``NULL``, then the - exception is cleared and the value is clipped to *PY_SSIZE_T_MIN* for a negative - integer or *PY_SSIZE_T_MAX* for a positive integer. + exception is cleared and the value is clipped to ``PY_SSIZE_T_MIN`` for a negative + integer or ``PY_SSIZE_T_MAX`` for a positive integer. .. c:function:: int PyIndex_Check(PyObject *o) |