mirror of
https://github.com/python/cpython.git
synced 2025-10-23 23:22:11 +00:00
When `pathlib._os.magic_open()` is called to open a path in binary mode, raise `ValueError` if any of the *encoding*, *errors* or *newline* arguments are given. This matches the `open()` built-in. |
||
|---|---|---|
| .. | ||
| support | ||
| __init__.py | ||
| test_copy.py | ||
| test_join.py | ||
| test_join_posix.py | ||
| test_join_windows.py | ||
| test_pathlib.py | ||
| test_read.py | ||
| test_write.py | ||