summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorhui shang <shangdahao@gmail.com>2019-09-11 13:26:49 (GMT)
committerJason R. Coombs <jaraco@jaraco.com>2019-09-11 13:26:49 (GMT)
commit088a09af4bdeff52b9dedeb7acd1e82069f37d98 (patch)
tree26aaebe83ddd99faa504ca67e8a97c1b8e4d5263 /Misc
parentf9b5840fb4497a9e2ba2c1f01ad0dafba04c8496 (diff)
downloadcpython-088a09af4bdeff52b9dedeb7acd1e82069f37d98.zip
cpython-088a09af4bdeff52b9dedeb7acd1e82069f37d98.tar.gz
cpython-088a09af4bdeff52b9dedeb7acd1e82069f37d98.tar.bz2
bpo-31163: Added return values to pathlib.Path instance's rename and replace methods. (GH-13582)
* bpo-31163: Added return values to pathlib.Path instance's rename and replace methods.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-05-26-16-34-53.bpo-31163.21A802.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-05-26-16-34-53.bpo-31163.21A802.rst b/Misc/NEWS.d/next/Library/2019-05-26-16-34-53.bpo-31163.21A802.rst
new file mode 100644
index 0000000..6ec0746
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-05-26-16-34-53.bpo-31163.21A802.rst
@@ -0,0 +1,2 @@
+pathlib.Path instance's rename and replace methods now return the new Path
+instance.