summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGirts <girtsf@users.noreply.github.com>2019-10-23 21:18:40 (GMT)
committerMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>2019-10-23 21:18:40 (GMT)
commita01ba333affcc0677146dc8af57179bdb808d608 (patch)
tree5b3c67ab51bc2c5074b19828c24de7a3d2eac119 /Misc
parent01659ca62c4508518478a74615ac91c0009427ad (diff)
downloadcpython-a01ba333affcc0677146dc8af57179bdb808d608.zip
cpython-a01ba333affcc0677146dc8af57179bdb808d608.tar.gz
cpython-a01ba333affcc0677146dc8af57179bdb808d608.tar.bz2
bpo-30618: add readlink to pathlib.Path (GH-8285)
This adds a "readlink" method to pathlib.Path objects that calls through to os.readlink. https://bugs.python.org/issue30618 Automerge-Triggered-By: @gpshead
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2018-07-14-13-48-56.bpo-30618.T5AUF6.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-07-14-13-48-56.bpo-30618.T5AUF6.rst b/Misc/NEWS.d/next/Library/2018-07-14-13-48-56.bpo-30618.T5AUF6.rst
new file mode 100644
index 0000000..35bdb4e
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-07-14-13-48-56.bpo-30618.T5AUF6.rst
@@ -0,0 +1 @@
+Add :meth:`~pathlib.Path.readlink`. Patch by Girts Folkmanis.