Skip to content
Snippets Groups Projects
Commit be54b20e authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Express sorting shorter

parent 4c24729a
Branches
Tags
1 merge request!129Interpolation refactoring
...@@ -91,7 +91,7 @@ def get_global_declarations(ast): ...@@ -91,7 +91,7 @@ def get_global_declarations(ast):
visit_node(ast) visit_node(ast)
return sorted(set(global_declarations), key=lambda x: str(x)) return sorted(set(global_declarations), key=str)
def get_headers(ast_node: Node) -> Set[str]: def get_headers(ast_node: Node) -> Set[str]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment