summaryrefslogtreecommitdiffstats
path: root/Lib/traceback.py
diff options
context:
space:
mode:
authorGalden <wudenggang0@163.com>2020-04-20 02:17:37 (GMT)
committerGitHub <noreply@github.com>2020-04-20 02:17:37 (GMT)
commitdf8913f7c48d267efd662e8ffd9496595115eee8 (patch)
tree3c01896448f700ca00381e884da0549588accd31 /Lib/traceback.py
parent3955da85687b176aed0c15faf06ad6c38d32bade (diff)
downloadcpython-df8913f7c48d267efd662e8ffd9496595115eee8.zip
cpython-df8913f7c48d267efd662e8ffd9496595115eee8.tar.gz
cpython-df8913f7c48d267efd662e8ffd9496595115eee8.tar.bz2
Fix typo in Lib/tracepack.py (GH-19605)
Typo fix: "emites" -> "emit".
Diffstat (limited to 'Lib/traceback.py')
-rw-r--r--Lib/traceback.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/traceback.py b/Lib/traceback.py
index 7a4c8e1..bf34bba 100644
--- a/Lib/traceback.py
+++ b/Lib/traceback.py
@@ -551,7 +551,7 @@ class TracebackException:
The return value is a generator of strings, each ending in a newline.
Normally, the generator emits a single string; however, for
- SyntaxError exceptions, it emites several lines that (when
+ SyntaxError exceptions, it emits several lines that (when
printed) display detailed information about where the syntax
error occurred.