Skip to content

Commit 67152d0

Browse files
authored
bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719)
1 parent 942f7a2 commit 67152d0

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
@@ -685,7 +685,7 @@ call fails (for example because the path doesn't exist).
685685

686686
.. method:: Path.stat()
687687

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

691691
::

0 commit comments

Comments
 (0)