summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorJonathan Oberländer <github@l3vi.de>2022-08-28 22:48:51 (GMT)
committerGitHub <noreply@github.com>2022-08-28 22:48:51 (GMT)
commit3d3a86ed40626471b2c9e7f1336b228eb0dd0879 (patch)
tree4bf996561895e8475fa3b48ef73c8ba24977c42d /Doc
parent023c51d9d8e2fd91069eea2bf12e373f1c71e9d2 (diff)
downloadcpython-3d3a86ed40626471b2c9e7f1336b228eb0dd0879.zip
cpython-3d3a86ed40626471b2c9e7f1336b228eb0dd0879.tar.gz
cpython-3d3a86ed40626471b2c9e7f1336b228eb0dd0879.tar.bz2
GH-96359: Fix docs that claim int(0|1) doesn't match False (GH-96361)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/reference/compound_stmts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index 93c1720..751c7c2 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -1122,7 +1122,7 @@ subject value:
These classes accept a single positional argument, and the pattern there is matched
against the whole object rather than an attribute. For example ``int(0|1)`` matches
- the value ``0``, but not the values ``0.0`` or ``False``.
+ the value ``0``, but not the value ``0.0``.
In simple terms ``CLS(P1, attr=P2)`` matches only if the following happens: