diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-05-04 13:39:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-04 13:39:16 (GMT) |
commit | 62a983d866af69973c4a31ed8f11dc5e97171a4c (patch) | |
tree | 62dc558679b3c89b35e2a75e312dc18feadf8e57 | |
parent | 377f3d43aa9b76a425ce5a853065d56290379a15 (diff) | |
download | cpython-62a983d866af69973c4a31ed8f11dc5e97171a4c.zip cpython-62a983d866af69973c4a31ed8f11dc5e97171a4c.tar.gz cpython-62a983d866af69973c4a31ed8f11dc5e97171a4c.tar.bz2 |
Fix typo in ast.py (GH-25740)
parantheses -> parentheses
(cherry picked from commit 9ee8448243e776d2a07a9868e9795bbb2c828f9c)
Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
-rw-r--r-- | Lib/ast.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1455,9 +1455,9 @@ class _Unparser(NodeVisitor): def visit_Subscript(self, node): def is_simple_tuple(slice_value): - # when unparsing a non-empty tuple, the parantheses can be safely + # when unparsing a non-empty tuple, the parentheses can be safely # omitted if there aren't any elements that explicitly requires - # parantheses (such as starred expressions). + # parentheses (such as starred expressions). return ( isinstance(slice_value, Tuple) and slice_value.elts |