Open the file pointed to by this path and return a file object, as the built-in open() function does.
(self, mode='r', buffering=-1, encoding=None,
errors=None, newline=None)
| 761 | st.st_dev == other_st.st_dev) |
| 762 | |
| 763 | def open(self, mode='r', buffering=-1, encoding=None, |
| 764 | errors=None, newline=None): |
| 765 | """ |
| 766 | Open the file pointed to by this path and return a file object, as |
| 767 | the built-in open() function does. |
| 768 | """ |
| 769 | if "b" not in mode: |
| 770 | encoding = io.text_encoding(encoding) |
| 771 | return io.open(self, mode, buffering, encoding, errors, newline) |
| 772 | |
| 773 | def read_bytes(self): |
| 774 | """ |
no outgoing calls
no test coverage detected