bpo-46927: Include the type's name in the error message for subscripting non-generic types (GH-31694)

4 files changed