Construct a Path from a ZipFile or filename. Note: When the source is an existing ZipFile object, its type (__class__) will be mutated to a specialized type. If the caller wishes to retain the original type, the caller should either create a separate
(self, root, at="")
| 310 | __repr = "{self.__class__.__name__}({self.root.filename!r}, {self.at!r})" |
| 311 | |
| 312 | def __init__(self, root, at=""): |
| 313 | """ |
| 314 | Construct a Path from a ZipFile or filename. |
| 315 | |
| 316 | Note: When the source is an existing ZipFile object, |
| 317 | its type (__class__) will be mutated to a |
| 318 | specialized type. If the caller wishes to retain the |
| 319 | original type, the caller should either create a |
| 320 | separate ZipFile object or pass a filename. |
| 321 | """ |
| 322 | self.root = FastLookup.make(root) |
| 323 | self.at = at |
| 324 | |
| 325 | def __eq__(self, other): |
| 326 | """ |
no test coverage detected