Skip to content

Commit e26655c

Browse files
committed
Add interface decorator
1 parent 5cfc162 commit e26655c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/runtime/ltypes/ltypes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ def overload(f):
9292
return overloaded_f
9393

9494

95+
def interface(f):
96+
raise Exception("Unexpected to be called by CPython")
97+
9598

9699
# C interoperation support
97100

0 commit comments

Comments
 (0)