diff options
author | Adam Turner <9087854+AA-Turner@users.noreply.github.com> | 2022-10-04 23:32:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-04 23:32:27 (GMT) |
commit | 6b3d4db02edc5883a7e7cbe088711edaef0d9853 (patch) | |
tree | fa00a8516d00f0203b5eeff570a6e295586f3ac8 /Doc/whatsnew | |
parent | 192d401ba53224020f5f9ca6e1ff2c9f89511ac4 (diff) | |
download | cpython-6b3d4db02edc5883a7e7cbe088711edaef0d9853.zip cpython-6b3d4db02edc5883a7e7cbe088711edaef0d9853.tar.gz cpython-6b3d4db02edc5883a7e7cbe088711edaef0d9853.tar.bz2 |
gh-93738: Documentation C syntax (:c:type: to :c:expr:, misc. cases) (#97775)
* :c:type: to :c:expr:
* Update Doc/whatsnew/2.4.rst
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/2.4.rst | 4 |
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 |