Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tom Harke
pystencils
Commits
2313eda2
Commit
2313eda2
authored
Jul 08, 2019
by
Stephan Seitz
Browse files
Sort bindings (nicer appearance in source code)
parent
c512c755
Changes
1
Show whitespace changes
Inline
Side-by-side
pystencils/backends/cbackend.py
View file @
2313eda2
...
...
@@ -271,6 +271,7 @@ class CBackend:
""
if
type
(
u
)
==
FieldPointerSymbol
else
(
"[%i]"
%
u
.
coordinate
))
for
u
in
undefined_field_symbols
]
destructuring_bindings
.
sort
()
# only for code aesthetics
template
=
jinja2
.
Template
(
"""{
{% for binding in bindings -%}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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