summaryrefslogtreecommitdiffstats
path: root/Lib/ast.py
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2021-06-13 02:47:44 (GMT)
committerGitHub <noreply@github.com>2021-06-13 02:47:44 (GMT)
commit17b16e13bb444001534ed6fccb459084596c8bcf (patch)
tree569101fcca308843dd1ff731dbd74682d7700f6f /Lib/ast.py
parent736ed6f7a9f465ba728198e8bca81e5fbe71bc37 (diff)
downloadcpython-17b16e13bb444001534ed6fccb459084596c8bcf.zip
cpython-17b16e13bb444001534ed6fccb459084596c8bcf.tar.gz
cpython-17b16e13bb444001534ed6fccb459084596c8bcf.tar.bz2
Fix typos in multiple files (GH-26689)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/ast.py')
-rw-r--r--Lib/ast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ast.py b/Lib/ast.py
index 64487d2..400d7c4 100644
--- a/Lib/ast.py
+++ b/Lib/ast.py
@@ -1334,7 +1334,7 @@ class _Unparser(NodeVisitor):
operator_precedence = self.unop_precedence[operator]
with self.require_parens(operator_precedence, node):
self.write(operator)
- # factor prefixes (+, -, ~) shouldn't be seperated
+ # factor prefixes (+, -, ~) shouldn't be separated
# from the value they belong, (e.g: +1 instead of + 1)
if operator_precedence is not _Precedence.FACTOR:
self.write(" ")