Skip to content

Commit

Permalink
Update boost_python_generator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pfernique committed Aug 19, 2016
1 parent 87451a2 commit 43bf56f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/py/autowig/boost_python_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
from .proxy_manager import ProxyManager
from .node_rename import PYTHON_OPERATOR
from .plugin_manager import PluginManager
from .generator import iterator_range

__all__ = ['boost_python_call_policy', 'boost_python_export', 'boost_python_module', 'boost_python_decorator']

Expand Down Expand Up @@ -629,8 +628,7 @@ def _content(self):
content += '\n' + self.CLASS.render(cls = arg,
node_rename = node_rename,
documenter = documenter,
call_policy = boost_python_call_policy,
iterator_range = iterator_range)
call_policy = boost_python_call_policy)
elif isinstance(arg, TypedefProxy):
continue
else:
Expand Down Expand Up @@ -924,8 +922,7 @@ def get_content(self):
content += '\n' + self.CLASS.render(cls = arg,
node_rename = node_rename,
documenter = documenter,
call_policy = boost_python_call_policy,
iterator_range = iterator_range)
call_policy = boost_python_call_policy)
if arg.specialize.globalname in self.TO:
content += '\n' + self.TO[arg.specialize.globalname].render(cls = arg)
elif arg.globalname in self.TO:
Expand All @@ -939,8 +936,7 @@ def get_content(self):
content += '\n' + self.CLASS.render(cls = arg,
node_rename = node_rename,
documenter = documenter,
call_policy = boost_python_call_policy,
iterator_range = iterator_range)
call_policy = boost_python_call_policy)
if arg.globalname in self.TO:
content += '\n' + self.TO[arg.globalname].render(cls = arg)
if arg.globalname in self.FROM:
Expand Down

0 comments on commit 43bf56f

Please sign in to comment.