Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. @classmethod
  2. def find_spec(cls, fullname, path=None, target=None):
  3. """Try to find a spec for 'fullname' on sys.path or 'path'.
  4.  
  5. The search is based on sys.path_hooks and sys.path_importer_cache.
  6. """
  7. if path is None:
  8. path = sys.path
  9. spec = cls._get_spec(fullname, path, target)
  10. '''
  11. 後略...
  12. '''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement