
New submission from swgmma <jason.nader@protonmail.com>: The docs for stat() (https://docs.python.org/3.9/library/pathlib.html#pathlib.Path.stat) state:
Return information about this path (similarly to os.stat()). The result is looked up at each call to this method."
Nit picks: 1) It states "similarly to os.stat()" which implies there may be differences between the two, when in fact they both return the same `os.stat_result` object. 2) It should mention that `stat()` returns a `os.stat_result` object without having to go digging into the docs for `os` to find out. ---------- assignee: docs@python components: Documentation messages: 363052 nosy: docs@python, swgmma priority: normal severity: normal status: open title: pathlib: reword docs for stat() versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue39808> _______________________________________