Skip to content

Commit

Permalink
PEP 635: Minor typo fix in code sample (#3871)
Browse files Browse the repository at this point in the history
Looks like an unclosed f-string.
  • Loading branch information
Mariatta authored Jul 24, 2024
1 parent 06debd9 commit d0bbb6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peps/pep-0635.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 1118,7 @@ be emulated by a user-defined class as follows::
The proposal was to combine patterns with type annotations::

match x:
case [a: int, b: str]: print(f"An int {a} and a string {b}:)
case [a: int, b: str]: print(f"An int {a} and a string {b}:")
case [a: int, b: int, c: int]: print("Three ints", a, b, c)
...

Expand Down

0 comments on commit d0bbb6b

Please sign in to comment.