diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-05-08 19:55:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 19:55:13 (GMT) |
commit | 530c3bb271d85e7700f627c5d64089d270286dfa (patch) | |
tree | 23c5200c130874f8d0e6c786f4fce6b303039909 /Doc/c-api | |
parent | b83b3cb9daf19560a171867b42d412a72b2bc4f5 (diff) | |
download | cpython-530c3bb271d85e7700f627c5d64089d270286dfa.zip cpython-530c3bb271d85e7700f627c5d64089d270286dfa.tar.gz cpython-530c3bb271d85e7700f627c5d64089d270286dfa.tar.bz2 |
[3.12] Format None, True, False and NotImplemented as literals (GH-118758) (GH-118794)
(cherry picked from commit 05c2fe1acda9ea5a57061642c36e8b73bb4fbba4)
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/object.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/object.rst b/Doc/c-api/object.rst index 2c8ffe5..3cb6540 100644 --- a/Doc/c-api/object.rst +++ b/Doc/c-api/object.rst @@ -16,7 +16,7 @@ Object Protocol Properly handle returning :c:data:`Py_NotImplemented` from within a C function (that is, create a new :term:`strong reference` - to NotImplemented and return it). + to :const:`NotImplemented` and return it). .. c:macro:: Py_PRINT_RAW |