Initialize a _PartialFile.
(self, f, start=None, stop=None)
| 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.""" |