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

Method __init__

Lib/test/test_tarfile.py:3586–3588  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

3584 ... # `tar` is now a TarFile with 'filename' in it!
3585 """
3586 def __init__(self, **kwargs):
3587 self.bio = io.BytesIO()
3588 self.tar_kwargs = dict(kwargs)
3589
3590 def __enter__(self):
3591 self.tar_w = tarfile.TarFile(mode='w', fileobj=self.bio, **self.tar_kwargs)

Callers 1

test_init_close_fobjMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected