diff options
author | Hai Shi <shihai1992@gmail.com> | 2019-08-13 19:54:02 (GMT) |
---|---|---|
committer | Antoine Pitrou <antoine@python.org> | 2019-08-13 19:54:02 (GMT) |
commit | 82642a052dc46b2180679518bc8d87e1a28a88b5 (patch) | |
tree | 8a987a065e51338c28d01dc359b404dc72717f0d /Misc | |
parent | 8a784af750fa82c8355903309e5089eb2b60c16b (diff) | |
download | cpython-82642a052dc46b2180679518bc8d87e1a28a88b5.zip cpython-82642a052dc46b2180679518bc8d87e1a28a88b5.tar.gz cpython-82642a052dc46b2180679518bc8d87e1a28a88b5.tar.bz2 |
bpo-37689: add Path.is_relative_to() method (GH-14982)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-07-27-18-00-43.bpo-37689.glEmZi.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-07-27-18-00-43.bpo-37689.glEmZi.rst b/Misc/NEWS.d/next/Library/2019-07-27-18-00-43.bpo-37689.glEmZi.rst new file mode 100644 index 0000000..2787f9e --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-07-27-18-00-43.bpo-37689.glEmZi.rst @@ -0,0 +1 @@ +Add :meth:`is_relative_to` in :class:`PurePath` to determine whether or not one path is relative to another. |