Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephan Seitz
pystencils
Commits
be54b20e
Commit
be54b20e
authored
Jan 14, 2020
by
Stephan Seitz
Browse files
Express sorting shorter
parent
4c24729a
Changes
1
Hide whitespace changes
Inline
Side-by-side
pystencils/backends/cbackend.py
View file @
be54b20e
...
...
@@ -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
]:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment