Xiang Zhang added the comment:

I don't mean to sync the docstring and the documentation totally. But just like 
os.chown, there are some functions explicitly mention the acceptable types of 
path parameter in their docstrings. I think since they already mention the 
types, then make the list complete. For example, I think for os.chown make the 
list "can be string, bytes, path-like object or open-file-descriptor int" is 
enough.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29341>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to