From 8b5c23e643b3b494fba20c3bc1b465edb069a455 Mon Sep 17 00:00:00 2001 From: Galden Date: Sun, 19 Apr 2020 23:05:09 +0800 Subject: [PATCH] typo fix : emit typo fix : emit --- Lib/traceback.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/traceback.py b/Lib/traceback.py index 7a4c8e19f9896b..bf34bbab8a1629 100644 --- a/Lib/traceback.py +++ b/Lib/traceback.py @@ -551,7 +551,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.