Merge pull request #37 from fabiant7t/patch-1
authorArmin Ronacher <armin.ronacher@active-4.com>
Tue, 24 May 2011 14:33:06 +0000 (07:33 -0700)
committerArmin 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

index b9fbb474a4fdd7016a163f40a60acc0e7c137f6a..a4a7d30324b313c6e47dd04e08ba3db3e5854448 100644 (file)
@@ -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``.