Skip to content
Snippets Groups Projects
Commit c3a4fb73 authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Add property is_integer -> True to IntegerFunctionTwoArgsMixIn

parent da5cfa52
No related merge requests found
...@@ -25,6 +25,10 @@ class IntegerFunctionTwoArgsMixIn(sp.Function): ...@@ -25,6 +25,10 @@ class IntegerFunctionTwoArgsMixIn(sp.Function):
raise ValueError("Integer functions can only be constructed with typed expressions") raise ValueError("Integer functions can only be constructed with typed expressions")
return super().__new__(cls, *args) return super().__new__(cls, *args)
@property
def is_integer(self):
return True
# noinspection PyPep8Naming # noinspection PyPep8Naming
class bitwise_xor(IntegerFunctionTwoArgsMixIn): class bitwise_xor(IntegerFunctionTwoArgsMixIn):
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment