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 02161f9 commit de8cf7fCopy full SHA for de8cf7f
Doc/library/typing.rst
@@ -231,8 +231,8 @@ A user-defined class can be defined as a generic class.
231
single type parameter ``T`` . This also makes ``T`` valid as a type within the
232
class body.
233
234
-The :class:`Generic` base class uses a metaclass that defines
235
-: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::
236
237
from typing import Iterable
238
0 commit comments