Skip to content
Snippets Groups Projects
Unverified Commit 3d3a86ed authored by Jonathan Oberländer's avatar Jonathan Oberländer Committed by GitHub
Browse files

GH-96359: Fix docs that claim int(0|1) doesn't match False (GH-96361)

parent 023c51d9
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment