Skip to content

Commit

Permalink
fix 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
007gzs committed Mar 14, 2024
1 parent 9dc6bad commit fbe602c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cool/core/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

class ConstantsMeta(enum.EnumMeta):

def __new__(metacls, classname, bases, classdict):
cls = super().__new__(metacls, classname, bases, classdict)
def __new__(metacls, classname, bases, classdict, **kwargs):
cls = super().__new__(metacls, classname, bases, classdict, **kwargs)
return enum.unique(cls)


Expand Down

0 comments on commit fbe602c

Please sign in to comment.