Skip to content

Commit 7b39c47

Browse files
[3.8] bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719) (GH-18783)
(cherry picked from commit 67152d0) Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com> Automerge-Triggered-By: @brettcannon
1 parent 6b452ff commit 7b39c47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/pathlib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ call fails (for example because the path doesn't exist).
672672

673673
.. method:: Path.stat()
674674

675-
Return information about this path (similarly to :func:`os.stat`).
675+
Return a :class:`os.stat_result` object containing information about this path, like :func:`os.stat`.
676676
The result is looked up at each call to this method.
677677

678678
::

0 commit comments

Comments
 (0)