Fix boundvars typo.
authorFredrik Tolf <fredrik@dolda2000.com>
Mon, 8 Jul 2024 00:50:48 +0000 (02:50 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Mon, 8 Jul 2024 00:50:48 +0000 (02:50 +0200)
wrw/env.py

index dd86007..f610796 100644 (file)
@@ -99,6 +99,6 @@ def boundvars(bindings, dynamic=[]):
                     calc.append((var, val()))
             with binding(bindings):
                 return fun(*args, **kwargs)
-        wrapper.__wrapped__ = callable
+        wrapper.__wrapped__ = fun
         return wrapper
     return dec