summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBNMetrics <luna@bnmetrics.com>2018-11-02 15:20:19 (GMT)
committerPablo Galindo <Pablogsal@gmail.com>2018-11-02 15:20:19 (GMT)
commitb942707fc23454a998323c17e30be78ff1a4f0e7 (patch)
tree3ae0fe450c2c8e57c672f87f4e4ad7f0755d948e /Misc
parent488c0a6cdf09e21774e63c2a430ecc0de804d147 (diff)
downloadcpython-b942707fc23454a998323c17e30be78ff1a4f0e7.zip
cpython-b942707fc23454a998323c17e30be78ff1a4f0e7.tar.gz
cpython-b942707fc23454a998323c17e30be78ff1a4f0e7.tar.bz2
bpo-29341: Clarify that path-like objects are accepted in some os methods (GH-10101)
Some methods in the os module can accept path-like objects. This is documented in the general documentation but not in the function docstrings. To keep both in sync, the docstrings need to be updated to reflect that path-like objects are also accepted.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-10-25-20-53-32.bpo-29341.jH-AMF.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-10-25-20-53-32.bpo-29341.jH-AMF.rst b/Misc/NEWS.d/next/Core and Builtins/2018-10-25-20-53-32.bpo-29341.jH-AMF.rst
new file mode 100644
index 0000000..954ce8c
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2018-10-25-20-53-32.bpo-29341.jH-AMF.rst
@@ -0,0 +1,2 @@
+Clarify in the docstrings of :mod:`os` methods that path-like objects are also accepted
+as input parameters.