Skip to content

Commit 58c903b

Browse files
updated message
1 parent 7947786 commit 58c903b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Lib/test/test_patma.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2926,7 +2926,6 @@ def test_union_type_keyword_subpattern(self):
29262926
w = 0
29272927
self.assertEqual(w, 0)
29282928

2929-
29302929
def test_patma_union_arg(self):
29312930
p = Point(x=1, y=2)
29322931
IntOrStr = int | str
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Since Python 3.10, it was possible to use unions as the second argument to ``isinstance``. Now, PEP604 style unions can also be used as match patterns.
1+
Since Python 3.10, it was possible to use unions as the second argument to ``isinstance``. Now, PEP604 style unions types, can also be used as match patterns.

0 commit comments

Comments
 (0)