Skip to content

Commit 3a5d757

Browse files
Follow PEP8
1 parent 222d00e commit 3a5d757

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/runpy.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ def _run_module_code(code, init_globals=None,
100100
# may be cleared when the temporary module goes away
101101
return mod_globals.copy()
102102

103+
103104
def _get_possible_name_list(wrong_name):
104105
try:
105106
if parent_name := wrong_name.rpartition('.')[0]:
@@ -114,6 +115,7 @@ def _get_possible_name_list(wrong_name):
114115
except Exception:
115116
return None
116117

118+
117119
# Helper to get the full name, spec and code for a module
118120
def _get_module_details(mod_name, error=ImportError):
119121
if mod_name.startswith("."):

0 commit comments

Comments
 (0)