Commit 9eafe1ee authored by Tom Niget's avatar Tom Niget

Use angle brackets for stdlib include

parent 8755dc62
...@@ -24,7 +24,7 @@ class ModuleVisitor(BlockVisitor): ...@@ -24,7 +24,7 @@ class ModuleVisitor(BlockVisitor):
yield f'auto& {alias.asname or alias.name} = py_{alias.name}::get_all();' yield f'auto& {alias.asname or alias.name} = py_{alias.name}::get_all();'
def import_module(self, name: str) -> Iterable[str]: def import_module(self, name: str) -> Iterable[str]:
self.includes.append(f'#include "python/{name}.hpp"') self.includes.append(f'#include <python/{name}.hpp>')
yield "" yield ""
def visit_ImportFrom(self, node: ast.ImportFrom) -> Iterable[str]: def visit_ImportFrom(self, node: ast.ImportFrom) -> Iterable[str]:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment