]> granicus.if.org Git - python/commitdiff
Issue #29092: Sync os.stat's doc and docstring on path type.
authorXiang Zhang <angwerzx@126.com>
Sun, 22 Jan 2017 04:54:44 +0000 (12:54 +0800)
committerXiang Zhang <angwerzx@126.com>
Sun, 22 Jan 2017 04:54:44 +0000 (12:54 +0800)
Doc/library/os.rst

index 5a67f93e3c3aa13c641c4690501bd5d44b335be1..3aee501cabde5d507747979b7404af162d9ada63 100644 (file)
@@ -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