From 1b1d87698345d5b6f0a976c3acfc16fcc9589d20 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Tue, 7 Oct 2008 23:38:32 -0700 Subject: [PATCH] minor fixes --- Cython/Compiler/ExprNodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index be4389ee..978d9ef6 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -2914,12 +2914,12 @@ class DictNode(ExprNode): def analyse_types(self, env): hold_errors() + self.type = dict_type for item in self.key_value_pairs: item.analyse_types(env) self.gil_check(env) self.obj_conversion_errors = held_errors() release_errors(ignore=True) - self.type = dict_type self.is_temp = 1 def coerce_to(self, dst_type, env): -- 2.26.2