Revisions for untitled paste

View the changes made to this paste.

unlisted ⁨1⁩ ⁨file⁩ 2022-07-10 15:41:09 UTC

keyword_sig.py

@@ -0,0 +1,12 @@

+from numba import uint16, njit
+
+
+@njit(uint16(uint16))
+def x(y=10):
+    return y
+
+
+x()
+
+# This causes: TypeError: No matching definition for argument type(s) omitted(default=10)
+# How to mention kwargs in function signature?
\ No newline at end of file