diff options
author | Robert Bradshaw <robertwb@gmail.com> | 2017-09-23 22:36:23 -0700 |
---|---|---|
committer | Robert Bradshaw <robertwb@gmail.com> | 2017-09-23 22:36:23 -0700 |
commit | dfce5c7f570ae337628d0258dde8246b8b0e36df (patch) | |
tree | 2b93fb7f84174eef189060bf2e4ee373ef7c241c /Cython/Compiler/ModuleNode.py | |
parent | d01f6d4a454ca8bd0fb55f033bcb4411f0739c83 (diff) | |
download | cython-dfce5c7f570ae337628d0258dde8246b8b0e36df.tar.gz |
Require c++0x for unique_ptr.
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: |