projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
6057afa
)
Merge pull request #37 from fabiant7t/patch-1
author
Armin Ronacher
<armin.ronacher@active-4.com>
Tue, 24 May 2011 14:33:06 +0000
(07:33 -0700)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Tue, 24 May 2011 14:33:06 +0000
(07:33 -0700)
Fixed example of a division with a truncated integer result
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``.