From 24eea1615a7fcb4ed25ac959dc72fbfbe3756ae9 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Mon, 7 Nov 2011 14:46:38 +0100 Subject: [PATCH] fixed operator precedences in the doc --- doc/templates.rst | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/templates.rst b/doc/templates.rst index c4599df..a955df2 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -450,9 +450,9 @@ even if you're not working with PHP you should feel comfortable with it. .. note:: The operator precedence is as follows, with the lowest-precedence - operators listed first: ``or``, ``and``, ``==``, ``!=``, ``<``, ``>``, - ``>=``, ``<=``, ``in``, ``+``, ``-``, ``~``, ``*``, ``/``, ``%``, ``//``, - ``is``, ``..``, and ``**``. + operators listed first: ``&``, ``^``, ``|``, ``or``, ``and``, ``==``, + ``!=``, ``<``, ``>``, ``>=``, ``<=``, ``in``, ``..``, ``+``, ``-``, ``~``, + ``*``, ``/``, ``//``, ``%``, ``is``, and ``**``. Literals ~~~~~~~~ -- 1.7.2.5