Skip to content

Commit

Permalink
Fix typo in Lib/tracepack.py (GH-19605)
Browse files Browse the repository at this point in the history
Typo fix: "emites" -> "emit".
(cherry picked from commit df8913f)

Co-authored-by: Galden <wudenggang0@163.com>
  • Loading branch information
miss-islington and wudenggang committed Apr 20, 2020
1 parent 8c07343 commit 984a567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/traceback.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 984a567

Please sign in to comment.