[docs] [issue36182] Path.write_text() docs do not include the case that a file exists
Lysandros Nikolaou
report at bugs.python.org
Mon Mar 4 07:51:21 EST 2019
New submission from Lysandros Nikolaou <lisandrosnik at gmail.com>:
Hi,
in the pathlib.Path.write_bytes() documentation it is clearly stated that "An existing file of the same name is overwritten." Wouldn't it make sense to include something similar to the pathlib.Path.write_text() docs. I had to quickly test it manually to find out what's happening as it wasn't clear to me if the statement applies to write_text() as well.
----------
assignee: docs at python
components: Documentation
messages: 337100
nosy: docs at python, lys.nikolaou
priority: normal
severity: normal
status: open
title: Path.write_text() docs do not include the case that a file exists
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36182>
_______________________________________
More information about the docs
mailing list