summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorYeojin Kim <yeojin.dev@gmail.com>2023-02-17 08:47:02 (GMT)
committerGitHub <noreply@github.com>2023-02-17 08:47:02 (GMT)
commit3c0a31cbfd1258bd96153a007dd44a96f2947dbf (patch)
tree04e2834f191291a759955b2f7ea21bbec1fe6b27 /Doc
parenta3bb7fbe7eecfae6bf7b2f0912f9b2b12fac8db1 (diff)
downloadcpython-3c0a31cbfd1258bd96153a007dd44a96f2947dbf.zip
cpython-3c0a31cbfd1258bd96153a007dd44a96f2947dbf.tar.gz
cpython-3c0a31cbfd1258bd96153a007dd44a96f2947dbf.tar.bz2
Docs: fix typos in PyFunction_WatchCallback docs and in 3.12 NEWS (GH-101980)
- possitibility => possibility - disaallowed => disallowed
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/function.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/function.rst b/Doc/c-api/function.rst
index 3cce18b..bc7569d 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.