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 1bf08ad..bb72119 100644 --- a/Doc/c-api/number.rst +++ b/Doc/c-api/number.rst @@ -256,7 +256,7 @@ Number Protocol .. cfunction:: PyObject* PyNumber_Index(PyObject *o) Returns the *o* converted to a Python int or long on success or *NULL* with a - TypeError exception raised on failure. + :exc:`TypeError` exception raised on failure. .. cfunction:: PyObject* PyNumber_ToBase(PyObject *n, int base) |