summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2022-02-03 09:25:10 (GMT)
committerGitHub <noreply@github.com>2022-02-03 09:25:10 (GMT)
commit7ffe7ba30fc051014977c6f393c51e57e71a6648 (patch)
tree0f1e476fdbac481a29eab473b2531a21e8306a9b /Misc
parent0cbdd2131195b0d313762968f604e80a3e65ca9f (diff)
downloadcpython-7ffe7ba30fc051014977c6f393c51e57e71a6648.zip
cpython-7ffe7ba30fc051014977c6f393c51e57e71a6648.tar.gz
cpython-7ffe7ba30fc051014977c6f393c51e57e71a6648.tar.bz2
bpo-46483: Remove `__class_getitem__` from `pathlib.PurePath` (GH-30848)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-01-23-11-17-48.bpo-46483.j7qwWb.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2022-01-24-13-00-09.bpo-46483.9XnmKp.rst1
2 files changed, 1 insertions, 2 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-01-23-11-17-48.bpo-46483.j7qwWb.rst b/Misc/NEWS.d/next/Library/2022-01-23-11-17-48.bpo-46483.j7qwWb.rst
deleted file mode 100644
index a84503d..0000000
--- a/Misc/NEWS.d/next/Library/2022-01-23-11-17-48.bpo-46483.j7qwWb.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Change :meth:`pathlib.PurePath.__class_getitem__` to return
-:class:`types.GenericAlias`.
diff --git a/Misc/NEWS.d/next/Library/2022-01-24-13-00-09.bpo-46483.9XnmKp.rst b/Misc/NEWS.d/next/Library/2022-01-24-13-00-09.bpo-46483.9XnmKp.rst
new file mode 100644
index 0000000..89cc818
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-01-24-13-00-09.bpo-46483.9XnmKp.rst
@@ -0,0 +1 @@
+Remove :meth:`~object.__class_getitem__` from :class:`pathlib.PurePath` as this class was not supposed to be generic.