]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-23706: Add newline parameter to pathlib.Path.write_text (GH-22420) (GH-22420)
authorМаксим <maksvenberv@yandex.ru>
Wed, 21 Oct 2020 02:08:19 +0000 (05:08 +0300)
committerGitHub <noreply@github.com>
Wed, 21 Oct 2020 02:08:19 +0000 (19:08 -0700)
commit5f227413400c4dfdba210cc0f8c9305421638bc1
tree38e93bae801217c8797740e01c68ed3811665eb9
parent25492a5b59c5b74328278f195540e318ab87674f
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
Doc/library/pathlib.rst
Lib/pathlib.py
Lib/test/test_pathlib.py
Misc/NEWS.d/next/Library/2020-09-30-11-05-11.bpo-23706.dHTGjF.rst [new file with mode: 0644]