MCPcopy Index your code
hub / github.com/python/cpython / discover

Method discover

Lib/importlib/abc.py:48–55  ·  view source on GitHub ↗

An optional method which searches for possible specs with given *parent* module spec. If *parent* is *None*, MetaPathFinder.discover will search for top-level modules. Returns an iterable of possible specs.

(self, parent=None)

Source from the content-addressed store, hash-verified

46 """
47
48 def discover(self, parent=None):
49 """An optional method which searches for possible specs with given *parent*
50 module spec. If *parent* is *None*, MetaPathFinder.discover will search
51 for top-level modules.
52
53 Returns an iterable of possible specs.
54 """
55 return ()
56
57
58_register(MetaPathFinder, machinery.BuiltinImporter, machinery.FrozenImporter,

Callers 1

load_testsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected