diff options
Diffstat (limited to 'library/python/runtime_py3')
-rw-r--r-- | library/python/runtime_py3/importer.pxi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/python/runtime_py3/importer.pxi b/library/python/runtime_py3/importer.pxi index d8b62930e0..904f94dea2 100644 --- a/library/python/runtime_py3/importer.pxi +++ b/library/python/runtime_py3/importer.pxi @@ -248,7 +248,7 @@ class ResourceImporter(object): relpath = self._find_mod_path(fullname) if isinstance(relpath, bytes): relpath = _s(relpath) - return relpath or modname + return relpath or modname # PEP-302 extension 3 of 3: packaging introspection. # Used by `linecache` (while printing tracebacks) unless module filename |