]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46483: [doc] pathlib classes no longer support parameterized generics (GH-31281)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 11 Feb 2022 21:04:01 +0000 (13:04 -0800)
committerGitHub <noreply@github.com>
Fri, 11 Feb 2022 21:04:01 +0000 (13:04 -0800)
Remove pathlib classes from the list in stdtypes.rst of classes
that can be parameterized at runtime.
(cherry picked from commit e0bc8ee945af96f9395659bbe3cc30b082e7a361)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Doc/library/stdtypes.rst

index 08e7c0db8cc973fd39f99ce7d58ffef50c6d5477..b330335773103bf0ce3f23aada2d326eed220d8a 100644 (file)
@@ -4959,10 +4959,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`