diff options
Diffstat (limited to 'Doc/c-api/number.rst')
-rw-r--r-- | Doc/c-api/number.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/number.rst b/Doc/c-api/number.rst index 4a2d931..3c7605a 100644 --- a/Doc/c-api/number.rst +++ b/Doc/c-api/number.rst @@ -266,7 +266,7 @@ Number Protocol .. c:function:: Py_ssize_t PyNumber_AsSsize_t(PyObject *o, PyObject *exc) Returns *o* converted to a Py_ssize_t value if *o* can be interpreted as an - integer. If the call fails, an exception is raised and -1 is returned. + integer. If the call fails, an exception is raised and ``-1`` is returned. If *o* can be converted to a Python int but the attempt to convert to a Py_ssize_t value would raise an :exc:`OverflowError`, then the |