We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 164bee2 commit 20d1f49Copy full SHA for 20d1f49
Doc/library/typing.rst
@@ -230,8 +230,8 @@ A user-defined class can be defined as a generic class.
230
single type parameter ``T`` . This also makes ``T`` valid as a type within the
231
class body.
232
233
-The :class:`Generic` base class uses a metaclass that defines
234
-:meth:`__getitem__` so that ``LoggedVar[t]`` is valid as a type::
+The :class:`Generic` base class defines :meth:`__class_getitem__` so that
+``LoggedVar[t]`` is valid as a type::
235
236
from typing import Iterable
237
0 commit comments