(self)
| 273 | return self.zip_file.open(info.zip_info) |
| 274 | |
| 275 | def iterdir(self): |
| 276 | info = self.info.resolve() |
| 277 | if not info.exists(): |
| 278 | raise FileNotFoundError(errno.ENOENT, "File not found", self) |
| 279 | elif not info.is_dir(): |
| 280 | raise NotADirectoryError(errno.ENOTDIR, "Not a directory", self) |
| 281 | return (self / name for name in info.children) |
| 282 | |
| 283 | def readlink(self): |
| 284 | info = self.info |