### Documentation https://docs.python.org/3/library/pathlib.html#pathlib.Path.write_text shows examples of returning an integer, but there is no mention of what the value represents. (It's the number of characters or bytes written). <!-- gh-linked-prs --> ### Linked PRs * gh-149629 <!-- /gh-linked-prs -->
Documentation
https://docs.python.org/3/library/pathlib.html#pathlib.Path.write_text shows examples of returning an integer, but there is no mention of what the value represents. (It's the number of characters or bytes written).
Linked PRs
Path.write_text()andPath.write_bytes()#149629