]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46483: [doc] pathlib classes no longer support parameterized generics (GH-31281)
authorAlex Waygood <Alex.Waygood@Gmail.com>
Fri, 11 Feb 2022 20:39:37 +0000 (20:39 +0000)
committerGitHub <noreply@github.com>
Fri, 11 Feb 2022 20:39:37 +0000 (22:39 +0200)
Remove pathlib classes from the list in stdtypes.rst of classes
that can be parameterized at runtime.

Doc/library/stdtypes.rst

index 3465320c87d8bc131d2a4aed7fd22822f7eb7b5d..cdc4dad06781434b2ddfa02e19e1d8c703ad3d9f 100644 (file)
@@ -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`