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

Function extend_path

Lib/pkgutil.py:482–554  ·  view source on GitHub ↗

Extend a package's path. Intended use is to place the following code in a package's __init__.py: from pkgutil import extend_path __path__ = extend_path(__path__, __name__) This will add to the package's __path__ all subdirectories of directories on sys.path named after

(path, name)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 10

splitMethod · 0.80
rstripMethod · 0.80
startswithMethod · 0.80
openFunction · 0.70
joinMethod · 0.45
isdirMethod · 0.45
isfileMethod · 0.45
appendMethod · 0.45
writeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected