summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-06-10 22:01:03 (GMT)
committerGitHub <noreply@github.com>2021-06-10 22:01:03 (GMT)
commit01286017c3345e2b8a0af2bd48f6eb2087693a82 (patch)
treedc5d6e87c5fae6a099c7b4082955f7181a030810 /Parser
parente3bc32fc1ad5537b476b34062b07a040533c913a (diff)
downloadcpython-01286017c3345e2b8a0af2bd48f6eb2087693a82.zip
cpython-01286017c3345e2b8a0af2bd48f6eb2087693a82.tar.gz
cpython-01286017c3345e2b8a0af2bd48f6eb2087693a82.tar.bz2
bpo-44356: [Enum] allow multiple data-type mixins if they are all the same (GH-26649) (GH-26653)
This enables, for example, two base Enums to both inherit from `str`, and then both be mixed into the same final Enum: class Str1Enum(str, Enum): GH- some behavior here class Str2Enum(str, Enum): GH- some more behavior here class FinalStrEnum(Str1Enum, Str2Enum): GH- this now works (cherry picked from commit 8a4f0850d75747af8c96ca0e7eef1f5c1abfba25) Co-authored-by: Ethan Furman <ethan@stoneleaf.us> Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Diffstat (limited to 'Parser')
0 files changed, 0 insertions, 0 deletions