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

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


https://github.com/python/cpython/commit/984a567cbb2dc4645f2baf72f608d44c9173d190
commit: 984a567cbb2dc4645f2baf72f608d44c9173d190
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-04-19T19:36:03-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 ab35da94b51ea..5ef3be74be74a 100644
--- a/Lib/traceback.py
+++ b/Lib/traceback.py
@@ -549,7 +549,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