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

Method __init__

Lib/test/test_pathlib/support/zip_path.py:211–215  ·  view source on GitHub ↗
(self, zip_file)

Source from the content-addressed store, hash-verified

209 __slots__ = ('tree', '_items')
210
211 def __init__(self, zip_file):
212 self.tree = ZipPathInfo(zip_file)
213 self._items = []
214 for item in zip_file.filelist:
215 self.append(item)
216
217 def __len__(self):
218 return len(self._items)

Callers

nothing calls this directly

Calls 2

appendMethod · 0.95
ZipPathInfoClass · 0.85

Tested by

no test coverage detected