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