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

Method __init__

Lib/mailbox.py:2104–2108  ·  view source on GitHub ↗

Initialize a _PartialFile.

(self, f, start=None, stop=None)

Source from the content-addressed store, hash-verified

2102 """A read-only wrapper of part of a file."""
2103
2104 def __init__(self, f, start=None, stop=None):
2105 """Initialize a _PartialFile."""
2106 _ProxyFile.__init__(self, f, start)
2107 self._start = start
2108 self._stop = stop
2109
2110 def tell(self):
2111 """Return the position with respect to start."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected