summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/2.4.rst
diff options
context:
space:
mode:
authorƁukasz Langa <lukasz@langa.pl>2022-10-05 15:19:38 (GMT)
committerGitHub <noreply@github.com>2022-10-05 15:19:38 (GMT)
commitd99ea4c7a2bf03bae567e567a14b5d130ce762f6 (patch)
treea44eeae0dbeb5756279ee99b059998dc93333973 /Doc/whatsnew/2.4.rst
parent4245764fae0f09fe5ac1c7bc736d35aeb064a795 (diff)
downloadcpython-d99ea4c7a2bf03bae567e567a14b5d130ce762f6.zip
cpython-d99ea4c7a2bf03bae567e567a14b5d130ce762f6.tar.gz
cpython-d99ea4c7a2bf03bae567e567a14b5d130ce762f6.tar.bz2
[3.10] gh-93738: Documentation C syntax (:c:type: to :c:expr:, misc. cases) (GH-97775) (#97891)
(cherry picked from commit 6b3d4db02edc5883a7e7cbe088711edaef0d9853) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Diffstat (limited to 'Doc/whatsnew/2.4.rst')
-rw-r--r--Doc/whatsnew/2.4.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/2.4.rst b/Doc/whatsnew/2.4.rst
index ddfac1a..61f9eb4 100644
--- a/Doc/whatsnew/2.4.rst
+++ b/Doc/whatsnew/2.4.rst
@@ -1453,7 +1453,7 @@ Some of the changes to Python's build process and to the C API are:
extension functions: :c:macro:`Py_RETURN_NONE`, :c:macro:`Py_RETURN_TRUE`, and
:c:macro:`Py_RETURN_FALSE`. (Contributed by Brett Cannon.)
-* Another new macro, :c:macro:`Py_CLEAR(obj)`, decreases the reference count of
+* Another new macro, :c:macro:`Py_CLEAR`, decreases the reference count of
*obj* and sets *obj* to the null pointer. (Contributed by Jim Fulton.)
* A new function, ``PyTuple_Pack(N, obj1, obj2, ..., objN)``, constructs
@@ -1464,7 +1464,7 @@ Some of the changes to Python's build process and to the C API are:
lookups without masking exceptions raised during the look-up process.
(Contributed by Raymond Hettinger.)
-* The :c:macro:`Py_IS_NAN(X)` macro returns 1 if its float or double argument
+* The :c:expr:`Py_IS_NAN(X)` macro returns 1 if its float or double argument
*X* is a NaN. (Contributed by Tim Peters.)
* C code can avoid unnecessary locking by using the new