Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. @classmethod
  2. def _get_spec(cls, fullname, path, target=None):
  3. """Find the loader or namespace_path for this module/package name."""
  4. # If this ends up being a namespace package, namespace_path is
  5. # the list of paths that will become its __path__
  6. namespace_path = []
  7. for entry in path:
  8. if not isinstance(entry, (str, bytes)):
  9. continue
  10. finder = cls._path_importer_cache(entry)
  11. '''
  12. 後η•₯...
  13. '''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement