[Python-checkins] Fix typo in Lib/tracepack.py (GH-19605)
Galden
webhook-mailer at python.org
Sun Apr 19 22:17:45 EDT 2020
https://github.com/python/cpython/commit/df8913f7c48d267efd662e8ffd9496595115eee8
commit: df8913f7c48d267efd662e8ffd9496595115eee8
branch: master
author: Galden <wudenggang0 at 163.com>
committer: GitHub <noreply at github.com>
date: 2020-04-19T19:17:37-07:00
summary:
Fix typo in Lib/tracepack.py (GH-19605)
Typo fix: "emites" -> "emit".
files:
M Lib/traceback.py
diff --git a/Lib/traceback.py b/Lib/traceback.py
index 7a4c8e19f9896..bf34bbab8a162 100644
--- a/Lib/traceback.py
+++ b/Lib/traceback.py
@@ -551,7 +551,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