__file__ == None cases

Alex Willmer 2024-04-09 13:00:36 +01:00
parent 1c3eafde7e
commit de66ddd00f
1 changed files with 2 additions and 0 deletions

@ -39,6 +39,8 @@ importlib.machinery.ModuleSpec: # Python 3.4+
name # __name__ name # __name__
loader # __loader__ loader # __loader__
origin # __file__ origin # __file__
# None has been seen in the wild (#1042),
# it may indicate a namespace package.
submodule_search_locations submodule_search_locations
# __path__ # __path__
# None indicates a non-package. # None indicates a non-package.