diff options
author | Максим <maksvenberv@yandex.ru> | 2020-10-21 02:08:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 02:08:19 (GMT) |
commit | 5f227413400c4dfdba210cc0f8c9305421638bc1 (patch) | |
tree | 38e93bae801217c8797740e01c68ed3811665eb9 /Misc/NEWS.d/next | |
parent | 25492a5b59c5b74328278f195540e318ab87674f (diff) | |
download | cpython-5f227413400c4dfdba210cc0f8c9305421638bc1.zip cpython-5f227413400c4dfdba210cc0f8c9305421638bc1.tar.gz cpython-5f227413400c4dfdba210cc0f8c9305421638bc1.tar.bz2 |
bpo-23706: Add newline parameter to pathlib.Path.write_text (GH-22420) (GH-22420)
* Add _newline_ parameter to `pathlib.Path.write_text()`
* Update documentation of `pathlib.Path.write_text()`
* Add test case for `pathlib.Path.write_text()` calls with _newline_ parameter passed
Automerge-Triggered-By: GH:methane
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-09-30-11-05-11.bpo-23706.dHTGjF.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-09-30-11-05-11.bpo-23706.dHTGjF.rst b/Misc/NEWS.d/next/Library/2020-09-30-11-05-11.bpo-23706.dHTGjF.rst new file mode 100644 index 0000000..b9a69a5 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-09-30-11-05-11.bpo-23706.dHTGjF.rst @@ -0,0 +1 @@ +Added *newline* parameter to ``pathlib.Path.write_text()``. |