summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2017-01-22 12:54:44 +0800
committerXiang Zhang <angwerzx@126.com>2017-01-22 12:54:44 +0800
commit7621658e7091fdbfbe18060cfea57c77f866b9c1 (patch)
treef9efd0e102772200f119727ed609d29fdcfc0714
parenta026f73c75337c598600c9057163ddb2f83cf872 (diff)
downloadcpython-7621658e7091fdbfbe18060cfea57c77f866b9c1.tar.gz
Issue #29092: Sync os.stat's doc and docstring on path type.
-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 5a67f93e3c..3aee501cab 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