Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-44526: fix typo in whatsnew/3.10 #26944

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions Doc/whatsnew/3.10.rst
Expand Up @@ -538,9 +538,9 @@ pattern has the ability to capture class attributes into variables::
case Point(x=0, y=0):
print("Origin is the point's location.")
case Point(x=0, y=y):
print(f"Y={y} and the point is on the y-axis.")
print(f"Y={y} and the point is on the x-axis.")
case Point(x=x, y=0):
print(f"X={x} and the point is on the x-axis.")
print(f"X={x} and the point is on the y-axis.")
case Point():
print("The point is located somewhere else on the plane.")
case _:
Expand Down
@@ -0,0 +1 @@
Fix typo in whatsnew/3.10.rst