From ec7c422d7be728f39f4479b09338b97a5d6fa1ca Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 1 Sep 2013 13:18:36 +0200 Subject: [PATCH] formatting --- Cython/Compiler/Symtab.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Cython/Compiler/Symtab.py b/Cython/Compiler/Symtab.py index ea72f3e..3896296 100644 --- a/Cython/Compiler/Symtab.py +++ b/Cython/Compiler/Symtab.py @@ -42,6 +42,7 @@ class BufferAux(object): def __repr__(self): return "" % self.__dict__ + class Entry(object): # A symbol table entry in a Scope or ModuleNamespace. # @@ -2005,10 +2006,11 @@ class CClassScope(ClassScope): entries = base_scope.inherited_var_entries + base_scope.var_entries for base_entry in entries: - entry = self.declare(base_entry.name, adapt(base_entry.cname), - base_entry.type, None, 'private') - entry.is_variable = 1 - self.inherited_var_entries.append(entry) + entry = self.declare( + base_entry.name, adapt(base_entry.cname), + base_entry.type, None, 'private') + entry.is_variable = 1 + self.inherited_var_entries.append(entry) # If the class defined in a pxd, specific entries have not been added. # Ensure now that the parent (base) scope has specific entries @@ -2031,7 +2033,7 @@ class CClassScope(ClassScope): entry.is_final_cmethod = True entry.is_inline_cmethod = base_entry.is_inline_cmethod if (self.parent_scope == base_scope.parent_scope or - entry.is_inline_cmethod): + entry.is_inline_cmethod): entry.final_func_cname = base_entry.final_func_cname if is_builtin: entry.is_builtin_cmethod = True -- 2.7.4