Skip to content

Commit 3c0a31c

Browse files
authored
Docs: fix typos in PyFunction_WatchCallback docs and in 3.12 NEWS (GH-101980)
- possitibility => possibility - disaallowed => disallowed
1 parent a3bb7fb commit 3c0a31c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/c-api/function.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ There are a few functions specific to Python functions.
169169
before the modification to *func* takes place, so the prior state of *func*
170170
can be inspected. The runtime is permitted to optimize away the creation of
171171
function objects when possible. In such cases no event will be emitted.
172-
Although this creates the possitibility of an observable difference of
172+
Although this creates the possibility of an observable difference of
173173
runtime behavior depending on optimization decisions, it does not change
174174
the semantics of the Python code being executed.
175175

Misc/NEWS.d/3.12.0a2.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ Add ``getbufferproc`` and ``releasebufferproc`` to the stable API.
10601060
10611061
Some configurable capabilities of sub-interpreters have changed. They always
10621062
allow subprocesses (:mod:`subprocess`) now, whereas before subprocesses
1063-
could be optionally disaallowed for a sub-interpreter. Instead
1063+
could be optionally disallowed for a sub-interpreter. Instead
10641064
:func:`os.exec` can now be disallowed. Disallowing daemon threads is now
10651065
supported. Disallowing all threads is still allowed, but is never done by
10661066
default. Note that the optional restrictions are only available through

0 commit comments

Comments
 (0)