mirror of
https://github.com/python/cpython.git
synced 2026-07-26 11:52:27 -04:00
ac28147e78
Not using `__class_getitem__()` fallback if there is a non-subcriptable metaclass was caused by a certain asymmetry between how `PySequenceMethods` and `PyMappingMethods` are used in `PyObject_GetItem`. This PR removes this asymmetry. No tests failed, so I assume it was not intentional.
Source files for various builtin objects