This article explains how Python's __class_getitem__ makes a class subscriptable, why it should return a GenericAlias, how a metaclass takes precedence over it, how it relates to the generic syntax of Python 3.12, and what it does not check at run time.