Skip to content

Commit 9ee8448

Browse files
authored
Fix typo in ast.py (GH-25740)
parantheses -> parentheses
1 parent b451bc8 commit 9ee8448

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/ast.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,9 +1455,9 @@ def visit_Call(self, node):
14551455

14561456
def visit_Subscript(self, node):
14571457
def is_simple_tuple(slice_value):
1458-
# when unparsing a non-empty tuple, the parantheses can be safely
1458+
# when unparsing a non-empty tuple, the parentheses can be safely
14591459
# omitted if there aren't any elements that explicitly requires
1460-
# parantheses (such as starred expressions).
1460+
# parentheses (such as starred expressions).
14611461
return (
14621462
isinstance(slice_value, Tuple)
14631463
and slice_value.elts

0 commit comments

Comments
 (0)