[Python-checkins] bpo-46483: [doc] pathlib classes no longer support parameterized generics (GH-31281)
serhiy-storchaka
webhook-mailer at python.org
Fri Feb 11 15:39:49 EST 2022
https://github.com/python/cpython/commit/e0bc8ee945af96f9395659bbe3cc30b082e7a361
commit: e0bc8ee945af96f9395659bbe3cc30b082e7a361
branch: main
author: Alex Waygood <Alex.Waygood at Gmail.com>
committer: serhiy-storchaka <storchaka at gmail.com>
date: 2022-02-11T22:39:37+02:00
summary:
bpo-46483: [doc] pathlib classes no longer support parameterized generics (GH-31281)
Remove pathlib classes from the list in stdtypes.rst of classes
that can be parameterized at runtime.
files:
M Doc/library/stdtypes.rst
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 3465320c87d8b..cdc4dad067814 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -4997,10 +4997,6 @@ list is non-exhaustive.
* :class:`functools.cached_property`
* :class:`functools.partialmethod`
* :class:`os.PathLike`
-* :class:`pathlib.Path`
-* :class:`pathlib.PurePath`
-* :class:`pathlib.PurePosixPath`
-* :class:`pathlib.PureWindowsPath`
* :class:`queue.LifoQueue`
* :class:`queue.Queue`
* :class:`queue.PriorityQueue`
More information about the Python-checkins
mailing list