projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6057afa
)
Fixed example of a division with a truncated integer result (it's // instead of /)
author
Fabian Topfstedt
<topfstedt@schneevonmorgen.com>
Sun, 22 May 2011 15:19:12 +0000
(08:19 -0700)
committer
Fabian Topfstedt
<topfstedt@schneevonmorgen.com>
Sun, 22 May 2011 15:19:12 +0000
(08:19 -0700)
docs/templates.rst
patch
|
blob
|
history
diff --git
a/docs/templates.rst
b/docs/templates.rst
index b9fbb474a4fdd7016a163f40a60acc0e7c137f6a..a4a7d30324b313c6e47dd04e08ba3db3e5854448 100644
(file)
--- a/
docs/templates.rst
+++ b/
docs/templates.rst
@@
-972,7
+972,7
@@
but exists for completeness' sake. The following operators are supported:
//
Divide two numbers and return the truncated integer result.
- ``{{ 20 / 7 }}`` is ``2``.
+ ``{{ 20 /
/
7 }}`` is ``2``.
%
Calculate the remainder of an integer division. ``{{ 11 % 7 }}`` is ``4``.