MCPcopy Index your code
hub / github.com/RustPython/RustPython / is_package

Method is_package

Lib/importlib/_bootstrap.py:1214–1216  ·  view source on GitHub ↗

Return True if the frozen module is a package.

(cls, fullname)

Source from the content-addressed store, hash-verified

1212 @classmethod
1213 @_requires_frozen
1214 def is_package(cls, fullname):
1215 """Return True if the frozen module is a package."""
1216 return _imp.is_frozen_package(fullname)
1217
1218
1219# Import itself ###############################################################

Callers 1

spec_from_loaderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected