From 6ae1285fa5b0a5ae6c1a90942adbb6262d4ae51e Mon Sep 17 00:00:00 2001 From: Fabian Topfstedt Date: Sun, 22 May 2011 08:19:12 -0700 Subject: [PATCH] Fixed example of a division with a truncated integer result (it's // instead of /) --- docs/templates.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/templates.rst b/docs/templates.rst index b9fbb47..a4a7d30 100644 --- 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``. -- 2.26.2