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

Typo fix: "emites" -> "emit".
This commit is contained in:
Galden 2020-04-20 10:17:37 +08:00 committed by GitHub
parent 3955da8568
commit df8913f7c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.