From 7fb1e21bde62f2d88ace8ebf3a405dba9366eac4 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 13 Mar 2010 11:03:28 +0100 Subject: [PATCH] fix --- Cython/Compiler/Nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index 2f2ee886..fb647d9d 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -4497,7 +4497,7 @@ class ExceptClauseNode(Node): else: code.putln("/*except:*/ {") - if not getattr(self.body, 'stats', True) and + if not getattr(self.body, 'stats', True) and \ self.excinfo_target is None and self.target is None): # most simple case: no exception variable, empty body (pass) # => reset the exception state, done -- 2.26.2