importlib.abc.PathEntryFinder.find_spec()

find_spec(fullname, target=None)

An abstract method for finding a spec for the specified module. The finder will search for the module only within the path entry to which it is assigned. If a spec cannot be found, None is returned. When passed in, target is a module object that the finder may use to make a more educated about what spec to return.

New in version 3.4.

doc_python
2016-10-07 17:34:36
Comments
Leave a Comment

Please login to continue.