Skip to content

Commit

Permalink
Restore binary opterators on CEnumValue
Browse files Browse the repository at this point in the history
  • Loading branch information
mobiusklein committed Jul 27, 2023
1 parent 717b737 commit f92eef2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/glypy/utils/cenum.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ cdef class EnumMeta(type):
return self.translate(v)


@cython.c_api_binop_methods(True)
cdef class EnumValue(object):
'''Represents a wrapper around an value with a name to identify it and
more rich comparison logic. A value of an enumerated type'''
Expand Down

0 comments on commit f92eef2

Please sign in to comment.