summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2017-01-22 04:54:44 (GMT)
committerXiang Zhang <angwerzx@126.com>2017-01-22 04:54:44 (GMT)
commitd7d87ca9b0495f1dd04863fbb93226c0e0f7af5f (patch)
treefdeffd327fbb8de62ce21e1b05feeb96fa05c957 /Doc
parent362f058a89437f82f112cda439bb40abe4ddb8c5 (diff)
downloadcpython-d7d87ca9b0495f1dd04863fbb93226c0e0f7af5f.zip
cpython-d7d87ca9b0495f1dd04863fbb93226c0e0f7af5f.tar.gz
cpython-d7d87ca9b0495f1dd04863fbb93226c0e0f7af5f.tar.bz2
Issue #29092: Sync os.stat's doc and docstring on path type.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/os.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 5a67f93..3aee501 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