Skip to content

Commit f04096f

Browse files
Update src/qcodes/utils/function_helpers.py
Co-authored-by: Jens Hedegaard Nielsen <jenshnielsen@gmail.com>
1 parent 9f5c58a commit f04096f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qcodes/utils/function_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def is_function(f: object, arg_count: int, coroutine: bool | None = False) -> bo
2222
if not callable(f):
2323
return False
2424
if coroutine is not None:
25-
if bool(coroutine) is not iscoroutinefunction(f):
25+
if bool(coroutine) is not iscoroutinefunction(f):
2626
return False
2727

2828
if isinstance(f, type):

0 commit comments

Comments
 (0)