summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2017-01-22 05:04:17 (GMT)
committerXiang Zhang <angwerzx@126.com>2017-01-22 05:04:17 (GMT)
commit4459e009ed36331a976d605270bc0a81d091aa75 (patch)
treebf6e2bfbafba50d5b2801b6d630ad0d38b263177 /Doc/library/os.rst
parenta203360836df8110b6e0e4b8a8ed551fa2f0df06 (diff)
parentd7d87ca9b0495f1dd04863fbb93226c0e0f7af5f (diff)
downloadcpython-4459e009ed36331a976d605270bc0a81d091aa75.zip
cpython-4459e009ed36331a976d605270bc0a81d091aa75.tar.gz
cpython-4459e009ed36331a976d605270bc0a81d091aa75.tar.bz2
Issue #29092: Sync os.stat's doc and docstring on path type.
Diffstat (limited to 'Doc/library/os.rst')
-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 988cb7c..37fa2a2 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -2213,7 +2213,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 -- directly or indirectly through the :class:`PathLike`
+ either a string or bytes -- directly or indirectly through the :class:`PathLike`
interface -- or as an open file descriptor. Return a :class:`stat_result`
object.