bpo-28556: Remove another mention of metaclass of Generic in typing d… · python/cpython@e742826 (original) (raw)

Original file line number Diff line number Diff line change
@@ -231,8 +231,8 @@ A user-defined class can be defined as a generic class.
231 231 single type parameter ``T`` . This also makes ``T`` valid as a type within the
232 232 class body.
233 233
234 -The :class:`Generic` base class uses a metaclass that defines
235 -:meth:`__getitem__` so that ``LoggedVar[t]`` is valid as a type::
234 +The :class:`Generic` base class defines :meth:`__class_getitem__` so that
235 +``LoggedVar[t]`` is valid as a type::
236 236
237 237 from typing import Iterable
238 238