[3.7] bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719) (GH-18782)
(cherry picked from commit 67152d0ed6
)
Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com>
Automerge-Triggered-By: @brettcannon
This commit is contained in:
parent
a39353efc1
commit
6bb67452d4
|
@ -662,7 +662,7 @@ call fails (for example because the path doesn't exist):
|
||||||
|
|
||||||
.. method:: Path.stat()
|
.. 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.
|
The result is looked up at each call to this method.
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
Loading…
Reference in New Issue