Skip to content

Commit d0bbb6b

Browse files
authored
PEP 635: Minor typo fix in code sample (#3871)
Looks like an unclosed f-string.
1 parent 06debd9 commit d0bbb6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peps/pep-0635.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ be emulated by a user-defined class as follows::
11181118
The proposal was to combine patterns with type annotations::
11191119

11201120
match x:
1121-
case [a: int, b: str]: print(f"An int {a} and a string {b}:)
1121+
case [a: int, b: str]: print(f"An int {a} and a string {b}:")
11221122
case [a: int, b: int, c: int]: print("Three ints", a, b, c)
11231123
...
11241124

0 commit comments

Comments
 (0)