MCPcopy Index your code
hub / github.com/python/cpython / fromtarfile

Method fromtarfile

Lib/tarfile.py:1354–1358  ·  view source on GitHub ↗

Return the next TarInfo object from TarFile object tarfile.

(cls, tarfile)

Source from the content-addressed store, hash-verified

1352
1353 @classmethod
1354 def fromtarfile(cls, tarfile):
1355 """Return the next TarInfo object from TarFile object
1356 tarfile.
1357 """
1358 return cls._fromtarfile(tarfile)
1359
1360 @classmethod
1361 def _fromtarfile(cls, tarfile, *, dircheck=True):

Callers 2

__init__Method · 0.80
nextMethod · 0.80

Calls 1

_fromtarfileMethod · 0.80

Tested by

no test coverage detected