[issue19776] Provide expanduser() on Path objects

Vajrasky Kok report at bugs.python.org
Thu Dec 5 05:11:35 CET 2013


Vajrasky Kok added the comment:

Documentation, please (Doc/library/pathlib.rst)!

This is the docstring of Path.cwd.

"""Return a new path pointing to the current working directory
(as returned by os.getcwd()).
"""

This is the docstring of Path.expanduser.
""" Return a new path with expanded ~ and ~user constructs.
"""

Perhaps we need to add "(as returned by os.path.expanduser)"?

----------
nosy: +vajrasky

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19776>
_______________________________________


More information about the Python-bugs-list mailing list