MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __init__

Method __init__

tools/python-3.11.9-amd64/Lib/mailbox.py:2028–2032  ·  view source on GitHub ↗

Initialize a _PartialFile.

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

Source from the content-addressed store, hash-verified

2026 """A read-only wrapper of part of a file."""
2027
2028 def __init__(self, f, start=None, stop=None):
2029 """Initialize a _PartialFile."""
2030 _ProxyFile.__init__(self, f, start)
2031 self._start = start
2032 self._stop = stop
2033
2034 def tell(self):
2035 """Return the position with respect to start."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected