[Python-checkins] cpython (3.5): Issue #29092: Sync os.stat's doc and docstring on path type.
xiang.zhang
python-checkins at python.org
Sun Jan 22 00:18:45 EST 2017
https://hg.python.org/cpython/rev/1f30e114cbc8
changeset: 106257:1f30e114cbc8
branch: 3.5
parent: 106254:442eb26b1ca4
user: Xiang Zhang <angwerzx at 126.com>
date: Sun Jan 22 12:54:44 2017 +0800
summary:
Issue #29092: Sync os.stat's doc and docstring on path type.
files:
Doc/library/os.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -2068,7 +2068,7 @@
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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list