From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 11 Feb 2022 21:03:45 +0000 (-0800) Subject: bpo-46483: [doc] pathlib classes no longer support parameterized generics (GH-31281) X-Git-Tag: v3.9.11~84 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a7c1cc41696740bb528f4d24816c59e38b8be345;p=thirdparty%2FPython%2Fcpython.git 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. (cherry picked from commit e0bc8ee945af96f9395659bbe3cc30b082e7a361) Co-authored-by: Alex Waygood --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index ba5e0d5a164e..b10909d81af0 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -4903,10 +4903,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`