bpo-41889: [Enum] fix multiple-inheritance regression (GH-22487)

3 files changed