diff options
Diffstat (limited to 'canonicalize/astTools.py')
-rw-r--r-- | canonicalize/astTools.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/canonicalize/astTools.py b/canonicalize/astTools.py index f644316..e67d908 100644 --- a/canonicalize/astTools.py +++ b/canonicalize/astTools.py @@ -1,4 +1,4 @@ -import ast, copy, pickle +import ast, copy, pickle, types from .tools import log from .namesets import * from .display import printFunction @@ -713,7 +713,7 @@ def eventualType(a): else: # Not op return bool elif type(a) == ast.Lambda: - return function + return types.LambdaType elif type(a) == ast.IfExp: l = eventualType(a.body) r = eventualType(a.orelse) |