]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42727: [Enum] use super() and include **kwds (GH-23927)
authorEthan Furman <ethan@stoneleaf.us>
Fri, 25 Dec 2020 03:31:10 +0000 (19:31 -0800)
committerGitHub <noreply@github.com>
Fri, 25 Dec 2020 03:31:10 +0000 (19:31 -0800)
commit786d97a66cac48e7a933010367b8993a5b3ab85b
tree4256e31a21b17a5ba218a0ddf2b39e097f2c58bc
parentc6c43b28746b0642cc3c49dd8138b896bed3028f
bpo-42727: [Enum] use super() and include **kwds (GH-23927)

for multiple inheritance support:

use super().new
pass **kwds to super().new
Lib/enum.py