Skip to content

Commit 1c95712

Browse files
author
Sylvain MARIE
committed
Fixed goodies: f symbol is not declared even if typing is not present.
1 parent beffb80 commit 1c95712

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mini_lambda/goodies.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@
2121
from typing import Callable
2222
f = InputVar('f', Callable)
2323
except ImportError:
24-
pass
24+
# no typing module but at least create something
25+
f = InputVar('f')

0 commit comments

Comments
 (0)