diff options
Diffstat (limited to 'Cython/Compiler/ModuleNode.py')
-rw-r--r-- | Cython/Compiler/ModuleNode.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py index 42c13ce82..4a339595d 100644 --- a/Cython/Compiler/ModuleNode.py +++ b/Cython/Compiler/ModuleNode.py @@ -905,7 +905,8 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): if constructor: arg_decls = [] arg_names = [] - for arg in constructor.type.original_args[:len(constructor.type.args)-constructor.type.optional_arg_count]: + for arg in constructor.type.original_args[ + :len(constructor.type.args)-constructor.type.optional_arg_count]: arg_decls.append(arg.declaration_code()) arg_names.append(arg.cname) if constructor.type.optional_arg_count: |