summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/slice.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-07-21 11:48:15 (GMT)
committerGitHub <noreply@github.com>2023-07-21 11:48:15 (GMT)
commitac9aa8a369e03784c5df7f2f8b598959fc9ef5f4 (patch)
treeebbf7a80b1c17857f0c2a16bea186817de7ad6b1 /Doc/c-api/slice.rst
parent807afdac416356c5e4558f11a8e1cfc5f0c86dd7 (diff)
downloadcpython-ac9aa8a369e03784c5df7f2f8b598959fc9ef5f4.zip
cpython-ac9aa8a369e03784c5df7f2f8b598959fc9ef5f4.tar.gz
cpython-ac9aa8a369e03784c5df7f2f8b598959fc9ef5f4.tar.bz2
[3.12] gh-106919: Use role :c:macro: for referencing the C "constants" (GH-106920) (GH-106951)
(cherry picked from commit fcc816dbff7ca66c26f57a506e4d2330fe41d0ff)
Diffstat (limited to 'Doc/c-api/slice.rst')
-rw-r--r--Doc/c-api/slice.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/slice.rst b/Doc/c-api/slice.rst
index c54a659..9e880c6 100644
--- a/Doc/c-api/slice.rst
+++ b/Doc/c-api/slice.rst
@@ -34,7 +34,7 @@ Slice Objects
*length* as errors.
Returns ``0`` on success and ``-1`` on error with no exception set (unless one of
- the indices was not :const:`None` and failed to be converted to an integer,
+ the indices was not ``None`` and failed to be converted to an integer,
in which case ``-1`` is returned with an exception set).
You probably do not want to use this function.