[Python-checkins] Fix typo in Lib/tracepack.py (GH-19605)

Miss Islington (bot) webhook-mailer at python.org
Sun Apr 19 22:36:57 EDT 2020


https://github.com/python/cpython/commit/d0d4e33d26a5463d7a4536525f9c6501ef2b3c17
commit: d0d4e33d26a5463d7a4536525f9c6501ef2b3c17
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-04-19T19:36:52-07:00
summary:

Fix typo in Lib/tracepack.py (GH-19605)


Typo fix: "emites" -> "emit".
(cherry picked from commit df8913f7c48d267efd662e8ffd9496595115eee8)

Co-authored-by: Galden <wudenggang0 at 163.com>

files:
M Lib/traceback.py

diff --git a/Lib/traceback.py b/Lib/traceback.py
index 4e7605d15fa4d..59d6d1d069877 100644
--- a/Lib/traceback.py
+++ b/Lib/traceback.py
@@ -546,7 +546,7 @@ def format_exception_only(self):
         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.
 



More information about the Python-checkins mailing list