From: Xiang Zhang Date: Sun, 22 Jan 2017 04:54:44 +0000 (+0800) Subject: Issue #29092: Sync os.stat's doc and docstring on path type. X-Git-Tag: v3.6.1rc1~153^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d7d87ca9b0495f1dd04863fbb93226c0e0f7af5f;p=thirdparty%2FPython%2Fcpython.git Issue #29092: Sync os.stat's doc and docstring on path type. --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 5a67f93e3c3a..3aee501cabde 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -2068,7 +2068,7 @@ features: Get the status of a file or a file descriptor. Perform the equivalent of a :c:func:`stat` system call on the given path. *path* may be specified as - either a string or as an open file descriptor. Return a :class:`stat_result` + either a string, a bytes or as an open file descriptor. Return a :class:`stat_result` object. This function normally follows symlinks; to stat a symlink add the argument