[docs] [issue27180] Doc/pathlib: Please describe the behaviour of Path().rename() is depends on the platform (same as os.rename())

Masato HASHIMOTO report at bugs.python.org
Thu Jun 2 07:18:19 EDT 2016


New submission from Masato HASHIMOTO:

The behavior of Path().rename() is same as os.rename() (replaces silently if dest file is already existent on Unix) but it's difficult to catch from current pathlib documentation (I found it from source of pathlib) from comparing with replace().

IMHO, it should be described on pathlilb documentation.

----------
assignee: docs at python
components: Documentation
messages: 266883
nosy: docs at python, hashimo
priority: normal
severity: normal
status: open
title: Doc/pathlib: Please describe the behaviour of Path().rename()  is depends on the platform (same as os.rename())
type: enhancement
versions: Python 3.4, Python 3.5, Python 3.6

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


More information about the docs mailing list