[issue46483] `pathlib.PurePath.__class_getitem__` does not return `GenericAlias`

Andrew Svetlov report at bugs.python.org
Mon Jan 24 05:17:38 EST 2022


Andrew Svetlov <andrew.svetlov at gmail.com> added the comment:

IIRC it was added to reflect the presence of __class_getitem__ method in typeshed.
Please feel free to drop it the method is not really needed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46483>
_______________________________________


More information about the Python-bugs-list mailing list