Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b451bc8 commit 9ee8448Copy full SHA for 9ee8448
1 file changed
Lib/ast.py
@@ -1455,9 +1455,9 @@ def visit_Call(self, node):
1455
1456
def visit_Subscript(self, node):
1457
def is_simple_tuple(slice_value):
1458
- # when unparsing a non-empty tuple, the parantheses can be safely
+ # when unparsing a non-empty tuple, the parentheses can be safely
1459
# omitted if there aren't any elements that explicitly requires
1460
- # parantheses (such as starred expressions).
+ # parentheses (such as starred expressions).
1461
return (
1462
isinstance(slice_value, Tuple)
1463
and slice_value.elts
0 commit comments