]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: fix typos in PyFunction_WatchCallback docs and in 3.12 NEWS (GH-101980)
authorYeojin Kim <yeojin.dev@gmail.com>
Fri, 17 Feb 2023 08:47:02 +0000 (17:47 +0900)
committerGitHub <noreply@github.com>
Fri, 17 Feb 2023 08:47:02 +0000 (00:47 -0800)
- possitibility => possibility
- disaallowed => disallowed

Doc/c-api/function.rst
Misc/NEWS.d/3.12.0a2.rst

index 3cce18bdde30573d3dac4945220231c18dcc44aa..bc7569d0add97db9ba4d85335a89f990d89c05ae 100644 (file)
@@ -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.
 
index 318f3f71f11546e980a201577e308f284563f50b..41ad8cd22b5d89df8f013a332b30881c5f3ad0f7 100644 (file)
@@ -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