bpo-32226: Make __class_getitem__ an automatic class method. (#5098)

5 files changed