Evelyn Mitchell added the comment:
*** cpythonmod/Doc/library/pathlib.rst 2016-06-07 11:29:07.200774979 -0600
--- cpython/Doc/library/pathlib.rst 2016-06-07 11:29:59.372777817 -0600
***************
*** 887,896 ****
.. method:: Path.rename(target)
! Rename this file or directory to the given *target*. On Unix,
! if *target* exists and is a file, it will be replaced silently
! if the user has permission. *target* can be either a string or
! another path object::
>>> p = Path('foo')
>>> p.open('w').write('some text')
--- 887,894 ----
.. method:: Path.rename(target)
! Rename this file or directory to the given *target*. *target* can be
! either a string or another path object::
>>> p = Path('foo')
>>> p.open('w').write('some text')
----------
nosy: +Evelyn Mitchell
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue27180>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com