Read and return a Unicode string from reading the path.
(self, encoding)
| 365 | return f.read() |
| 366 | |
| 367 | def read_text(self, encoding): |
| 368 | """Read and return a Unicode string from reading the path.""" |
| 369 | with self.open("r", encoding=encoding) as f: |
| 370 | return f.read() |
| 371 | |
| 372 | def read(self, mode="r"): |
| 373 | """Read and return a bytestring from reading the path.""" |