[Python-checkins] Docs: fix typos in PyFunction_WatchCallback docs and in 3.12 NEWS (GH-101980)
miss-islington
webhook-mailer at python.org
Fri Feb 17 03:47:09 EST 2023
https://github.com/python/cpython/commit/3c0a31cbfd1258bd96153a007dd44a96f2947dbf
commit: 3c0a31cbfd1258bd96153a007dd44a96f2947dbf
branch: main
author: Yeojin Kim <yeojin.dev at gmail.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-02-17T00:47:02-08:00
summary:
Docs: fix typos in PyFunction_WatchCallback docs and in 3.12 NEWS (GH-101980)
- possitibility => possibility
- disaallowed => disallowed
files:
M Doc/c-api/function.rst
M Misc/NEWS.d/3.12.0a2.rst
diff --git a/Doc/c-api/function.rst b/Doc/c-api/function.rst
index 3cce18bdde30..bc7569d0add9 100644
--- a/Doc/c-api/function.rst
+++ b/Doc/c-api/function.rst
@@ -169,7 +169,7 @@ There are a few functions specific to Python functions.
before the modification to *func* takes place, so the prior state of *func*
can be inspected. The runtime is permitted to optimize away the creation of
function objects when possible. In such cases no event will be emitted.
- Although this creates the possitibility of an observable difference of
+ Although this creates the possibility of an observable difference of
runtime behavior depending on optimization decisions, it does not change
the semantics of the Python code being executed.
diff --git a/Misc/NEWS.d/3.12.0a2.rst b/Misc/NEWS.d/3.12.0a2.rst
index 318f3f71f115..41ad8cd22b5d 100644
--- a/Misc/NEWS.d/3.12.0a2.rst
+++ b/Misc/NEWS.d/3.12.0a2.rst
@@ -1060,7 +1060,7 @@ Add ``getbufferproc`` and ``releasebufferproc`` to the stable API.
Some configurable capabilities of sub-interpreters have changed. They always
allow subprocesses (:mod:`subprocess`) now, whereas before subprocesses
-could be optionally disaallowed for a sub-interpreter. Instead
+could be optionally disallowed for a sub-interpreter. Instead
:func:`os.exec` can now be disallowed. Disallowing daemon threads is now
supported. Disallowing all threads is still allowed, but is never done by
default. Note that the optional restrictions are only available through
More information about the Python-checkins
mailing list