Skip to content

Commit

Permalink
Add display information to slice example
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmallet committed Dec 22, 2014
1 parent b87cf88 commit d5fe413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/filters/slice.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ As syntactic sugar, you can also use the ``[]`` notation:
{# ... #}
{% endfor %}
{{ '12345'[1:2] }}
{{ '12345'[1:2] }} {# will display "23" #}
{# you can omit the first argument -- which is the same as 0 #}
{{ '12345'[:2] }} {# will display "12" #}
Expand Down

0 comments on commit d5fe413

Please sign in to comment.