From eca913f6fcbbec00d8429dde7a38ac4d023d6145 Mon Sep 17 00:00:00 2001 From: Kurt Smith Date: Tue, 17 Mar 2009 14:57:58 -0500 Subject: [PATCH] Fix 135 -- scope objects have return_type set to None by default --- Cython/Compiler/Symtab.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Cython/Compiler/Symtab.py b/Cython/Compiler/Symtab.py index b649fbaa..08ba3a91 100644 --- a/Cython/Compiler/Symtab.py +++ b/Cython/Compiler/Symtab.py @@ -251,6 +251,7 @@ class Scope(object): self.pystring_entries = [] self.buffer_entries = [] self.control_flow = ControlFlow.LinearControlFlow() + self.return_type = None def start_branching(self, pos): self.control_flow = self.control_flow.start_branch(pos) -- 2.26.2