MCPcopy Create free account
hub / github.com/catboost/catboost / is_package

Method is_package

library/python/runtime_py3/__res.py:493–503  ·  view source on GitHub ↗
(self, fullname)

Source from the content-addressed store, hash-verified

491 return {'mtime': st.st_mtime, 'size': st.st_size}
492
493 def is_package(self, fullname):
494 if fullname in self.memory:
495 return False
496
497 if fullname + '.__init__' in self.memory:
498 return True
499
500 if self.arcadia_source_finder:
501 return self.arcadia_source_finder.is_package(fullname)
502
503 raise ImportError(fullname)
504
505 # Extension for pkgutil.iter_modules.
506 def iter_modules(self, prefix=''):

Callers 11

find_specMethod · 0.95
exec_moduleMethod · 0.95
get_filenameMethod · 0.95
get_sourceMethod · 0.95
get_codeMethod · 0.95
test_is_packagesMethod · 0.45
test_is_packagesMethod · 0.45
test_is_packageMethod · 0.45

Calls

no outgoing calls

Tested by 6

test_is_packagesMethod · 0.36
test_is_packagesMethod · 0.36
test_is_packageMethod · 0.36