summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <54418+brettcannon@users.noreply.github.com>2020-03-04 22:51:50 (GMT)
committerGitHub <noreply@github.com>2020-03-04 22:51:50 (GMT)
commit67152d0ed670227b61b5df683655b196ab04ca1a (patch)
tree8a8c2439619b50d10f38f240cdc3c37d683c917a
parent942f7a2dea2e95a0fa848329565c0d0288d92e47 (diff)
downloadcpython-67152d0ed670227b61b5df683655b196ab04ca1a.zip
cpython-67152d0ed670227b61b5df683655b196ab04ca1a.tar.gz
cpython-67152d0ed670227b61b5df683655b196ab04ca1a.tar.bz2
bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719)
-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 5906a33..7c0ffd5 100644
--- a/Doc/library/pathlib.rst
+++ b/Doc/library/pathlib.rst
@@ -685,7 +685,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.
::