@@ -1081,7 +1081,7 @@ def __init__(self, exc_type, exc_value, exc_traceback, *, limit=None,
10811081
10821082 self ._is_syntax_error = False
10831083 self ._have_exc_type = exc_type is not None
1084-
1084+
10851085 if self ._have_exc_type :
10861086 self .exc_type_qualname = exc_type .__qualname__
10871087 self .exc_type_module = exc_type .__module__
@@ -1104,7 +1104,7 @@ def __init__(self, exc_type, exc_value, exc_traceback, *, limit=None,
11041104 else :
11051105 self .exc_type_qualname = None
11061106 self .exc_type_module = None
1107-
1107+
11081108 if lookup_lines :
11091109 self ._load_lines ()
11101110 self .__suppress_context__ = \
@@ -1714,7 +1714,7 @@ def _compute_suggestion_message(exc_type, exc_value, exc_traceback) -> str | Non
17141714 if issubclass (exc_type , ModuleNotFoundError ) and \
17151715 sys .flags .no_site and \
17161716 getattr (exc_value , "name" , None ) not in sys .stdlib_module_names :
1717- return ("Site initialization is disabled, did you forget to "
1717+ return ("Site initialization is disabled, did you forget to "
17181718 "add the site-packages directory to sys.path?" )
17191719 if issubclass (exc_type , (ImportError , NameError , AttributeError )):
17201720 name_attribute = "name_from" if issubclass (exc_type , ImportError ) else "name"
0 commit comments