Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit 1caa808

Browse files
committed
small changes
1 parent 336ed0d commit 1caa808

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

numba_typing/type_annotations.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ def get_internal_typevars(sig):
8282
unique_typevars.update(get_typevars(typ))
8383

8484
if len(unique_typevars) == 0:
85-
return sig
85+
result = []
86+
result.append(sig)
87+
return result
8688

8789
return expand_typevars(sig, unique_typevars)
8890

0 commit comments

Comments
 (0)