Commit be54b20e authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Express sorting shorter

parent 4c24729a
......@@ -91,7 +91,7 @@ def get_global_declarations(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]:
......
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