[New-bugs-announce] [issue29341] Missing accepting path-like object in docstrings of os module functions
Xiang Zhang
report at bugs.python.org
Sun Jan 22 00:47:41 EST 2017
New submission from Xiang Zhang:
PathLike objects are added in 3.6 and they are mentioned in the documentation. But in some os module functions' docstrings, acceptable types of path parameter are mentioned and they are not altered to mention path-like object. For example:
chown(path, uid, gid, *, dir_fd=None, follow_symlinks=True)
Change the owner and group id of path to the numeric uid and gid.\
path
Path to be examined; can be string, bytes, or open-file-descriptor int.
----------
messages: 285988
nosy: xiang.zhang
priority: normal
severity: normal
status: open
title: Missing accepting path-like object in docstrings of os module functions
versions: Python 3.6, Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29341>
_______________________________________
More information about the New-bugs-announce
mailing list