Skip to content

Commit 6372eca

Browse files
committed
Fix: call function instead of returning it.
1 parent a6a09f9 commit 6372eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/lib-graalpython/python_cext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def may_raise(error_result=error_handler):
6060
def decorator(fun):
6161
def wrapper(*args):
6262
with error_handler:
63-
return fun
63+
return fun(*args)
6464
return error_result
6565
wrapper.__name__ = fun.__name__
6666
return wrapper

0 commit comments

Comments
 (0)