]> 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:52 +0000 (19:36 -0700)
committerGitHub <noreply@github.com>
Mon, 20 Apr 2020 02:36:52 +0000 (19:36 -0700)
Typo fix: "emites" -> "emit".
(cherry picked from commit df8913f7c48d267efd662e8ffd9496595115eee8)

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

index 4e7605d15fa4dea141709bb55dc8b96255715d99..59d6d1d0698773be4194523901ca0aea18e3404c 100644 (file)
@@ -546,7 +546,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.