summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.2.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-08-22 12:50:30 (GMT)
committerGitHub <noreply@github.com>2023-08-22 12:50:30 (GMT)
commitd7202e4879bf4e7e00a69500ddcb3143864139b4 (patch)
tree9f1c6a1ab8efff6c1ab9ee4c003d04e2950e3508 /Doc/whatsnew/3.2.rst
parentc556f9a3c9af48c9af9e1f298be638553a6c886e (diff)
downloadcpython-d7202e4879bf4e7e00a69500ddcb3143864139b4.zip
cpython-d7202e4879bf4e7e00a69500ddcb3143864139b4.tar.gz
cpython-d7202e4879bf4e7e00a69500ddcb3143864139b4.tar.bz2
gh-107298: Fix numerous ref errors and typos in the C API docs (GH-108258)
Diffstat (limited to 'Doc/whatsnew/3.2.rst')
-rw-r--r--Doc/whatsnew/3.2.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst
index 56ac5c4..df32b76 100644
--- a/Doc/whatsnew/3.2.rst
+++ b/Doc/whatsnew/3.2.rst
@@ -2569,7 +2569,7 @@ Changes to Python's build process and to the C API include:
to set :data:`sys.argv` without also modifying :data:`sys.path`
(:issue:`5753`).
-* :c:macro:`PyEval_CallObject` is now only available in macro form. The
+* :c:func:`!PyEval_CallObject` is now only available in macro form. The
function declaration, which was kept for backwards compatibility reasons, is
now removed -- the macro was introduced in 1997 (:issue:`8276`).
@@ -2731,15 +2731,15 @@ require changes to your code:
(Contributed by Antoine Pitrou, :issue:`10272`.)
-* The misleading functions :c:func:`PyEval_AcquireLock()` and
- :c:func:`PyEval_ReleaseLock()` have been officially deprecated. The
- thread-state aware APIs (such as :c:func:`PyEval_SaveThread()`
- and :c:func:`PyEval_RestoreThread()`) should be used instead.
+* The misleading functions :c:func:`!PyEval_AcquireLock` and
+ :c:func:`!PyEval_ReleaseLock` have been officially deprecated. The
+ thread-state aware APIs (such as :c:func:`PyEval_SaveThread`
+ and :c:func:`PyEval_RestoreThread`) should be used instead.
* Due to security risks, :func:`asyncore.handle_accept` has been deprecated, and
a new function, :func:`asyncore.handle_accepted`, was added to replace it.
(Contributed by Giampaolo Rodola in :issue:`6706`.)
-* Due to the new :term:`GIL` implementation, :c:func:`PyEval_InitThreads()`
- cannot be called before :c:func:`Py_Initialize()` anymore.
+* Due to the new :term:`GIL` implementation, :c:func:`!PyEval_InitThreads`
+ cannot be called before :c:func:`Py_Initialize` anymore.