From: Brett Cannon <54418+brettcannon@users.noreply.github.com> Date: Wed, 4 Mar 2020 22:51:50 +0000 (-0800) Subject: bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719) X-Git-Tag: v3.9.0a5~175 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=67152d0ed670227b61b5df683655b196ab04ca1a;p=thirdparty%2FPython%2Fcpython.git bpo-39808: Improve docs for pathlib.Path.stat() (GH-18719) --- diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index 5906a33bdea1..7c0ffd50e2c7 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. ::