]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in Lib/tracepack.py (GH-19605)
authorGalden <wudenggang0@163.com>
Mon, 20 Apr 2020 02:17:37 +0000 (10:17 +0800)
committerGitHub <noreply@github.com>
Mon, 20 Apr 2020 02:17:37 +0000 (19:17 -0700)
Typo fix: "emites" -> "emit".

Lib/traceback.py

index 7a4c8e19f9896b40243d9d25c4236ad838453c58..bf34bbab8a16296ee0db00128ced7879ec6dc175 100644 (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.