Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit d7d87ca

Browse files
committed
Issue python#29092: Sync os.stat's doc and docstring on path type.
1 parent 362f058 commit d7d87ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/os.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2068,7 +2068,7 @@ features:
20682068

20692069
Get the status of a file or a file descriptor. Perform the equivalent of a
20702070
:c:func:`stat` system call on the given path. *path* may be specified as
2071-
either a string or as an open file descriptor. Return a :class:`stat_result`
2071+
either a string, a bytes or as an open file descriptor. Return a :class:`stat_result`
20722072
object.
20732073

20742074
This function normally follows symlinks; to stat a symlink add the argument

0 commit comments

Comments
 (0)