Skip to content

Commit 519cf4d

Browse files
committed
enough for _let to check the mode
1 parent e19d0fc commit 519cf4d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

unpythonic/let.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ def _let(mode, body, **bindings):
193193

194194
# decorator factory: almost as fun as macros?
195195
def _dlet(mode, **bindings):
196-
assert mode in ("let", "letrec")
197196
def deco(body):
198197
# evaluate env only once, when the function def runs
199198
# (to preserve state between calls to the decorated function)

0 commit comments

Comments
 (0)