fixed operator precedences in the doc
authorFabien Potencier <fabien.potencier@gmail.com>
Mon, 7 Nov 2011 13:46:38 +0000 (14:46 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Mon, 7 Nov 2011 13:46:38 +0000 (14:46 +0100)
doc/templates.rst

index c4599df..a955df2 100644 (file)
@@ -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
 ~~~~~~~~