summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-03-05 18:36:54 (GMT)
committerGitHub <noreply@github.com>2020-03-05 18:36:54 (GMT)
commit7b39c474e4ce7057a9e16b06d40261ff563b1e9d (patch)
treea18d2b0577ef3443e674c9985d723e5f3c5fb016 /Doc/library
parent6b452ff97f70eca79ab956987cc04b6586feca00 (diff)
downloadcpython-7b39c474e4ce7057a9e16b06d40261ff563b1e9d.zip
cpython-7b39c474e4ce7057a9e16b06d40261ff563b1e9d.tar.gz
cpython-7b39c474e4ce7057a9e16b06d40261ff563b1e9d.tar.bz2
[3.8] bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719) (GH-18783)
(cherry picked from commit 67152d0ed670227b61b5df683655b196ab04ca1a) Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com> Automerge-Triggered-By: @brettcannon
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/pathlib.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst
index 326bb2e..0340814 100644
--- a/Doc/library/pathlib.rst
+++ b/Doc/library/pathlib.rst
@@ -672,7 +672,7 @@ call fails (for example because the path doesn't exist).
.. method:: Path.stat()
- Return information about this path (similarly to :func:`os.stat`).
+ Return a :class:`os.stat_result` object containing information about this path, like :func:`os.stat`.
The result is looked up at each call to this method.
::