]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in Lib/tracepack.py (GH-19605)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 20 Apr 2020 02:36:03 +0000 (19:36 -0700)
committerGitHub <noreply@github.com>
Mon, 20 Apr 2020 02:36:03 +0000 (19:36 -0700)
Typo fix: "emites" -> "emit".
(cherry picked from commit df8913f7c48d267efd662e8ffd9496595115eee8)

Co-authored-by: Galden <wudenggang0@163.com>
Lib/traceback.py

index ab35da94b51eabe297a12185762e4076c59fd46b..5ef3be74be74ab342dd9896056cab363f3fe803f 100644 (file)
@@ -549,7 +549,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.