MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _readmodule

Function _readmodule

Lib/pyclbr.py:97–277  ·  view source on GitHub ↗

Do the hard work for readmodule[_ex]. If INPACKAGE is given, it must be the dotted name of the package in which we are searching for a submodule, and then PATH must be the package search path; otherwise, we are searching for a top-level module, and PATH is combined with sys.path.

(module, path, inpackage=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

readmoduleFunction · 0.85
readmodule_exFunction · 0.85

Calls 13

_addmethodMethod · 0.95
_getnamelistFunction · 0.85
_getnameFunction · 0.85
rfindMethod · 0.80
splitMethod · 0.80
FunctionClass · 0.70
ClassClass · 0.70
formatMethod · 0.45
find_moduleMethod · 0.45
closeMethod · 0.45
nextMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected