You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this error when writign a macro with a trailing comma:
{% macro foo (
bar,
)%}
...
{% endmacro %}
Although it's not strictly required to make the macro work (I can just drop the trailing comma), it's quite convenient VCS-wise: if I add another parameter, I don't get a diff on the last existing parameter just because I need to add a comma.
The text was updated successfully, but these errors were encountered:
njl
added a commit
to njl/jinja2
that referenced
this issue
Mar 13, 2012
I get this error when writign a macro with a trailing comma:
{% macro foo (
bar,
)%}
...
{% endmacro %}
Although it's not strictly required to make the macro work (I can just drop the trailing comma), it's quite convenient VCS-wise: if I add another parameter, I don't get a diff on the last existing parameter just because I need to add a comma.
The text was updated successfully, but these errors were encountered: