      {% if athlete_list and coach_list or cheerleader_list %}
  
  will be interpreted like:
  
  .. code-block:: python
  
      if (athlete_list and coach_list) or cheerleader_list
  
  Use of actual parentheses in the :ttag:`if` tag is invalid syntax. If you need
  them to indicate precedence, you should use nested :ttag:`if` tags.
 
</s> remove a word or not::
 </s> add a word or not:

.. code-block:: javascript </s> remove 2-tuple containing::
 </s> add 2-tuple containing:

.. code-block:: text </s> remove         # ...
 </s> add         ... </s> remove     >>>     avg_rating=Window(
    >>>         expression=Avg('rating'),
    >>>         partition_by=[F('studio'), F('genre')],
    >>>         order_by='released__year',
    >>>     ),
    >>> )
 </s> add     ...     avg_rating=Window(
    ...         expression=Avg('rating'),
    ...         partition_by=[F('studio'), F('genre')],
    ...         order_by='released__year',
    ...     ),
    ... )
.. code-block:: pycon
      {% if athlete_list and coach_list or cheerleader_list %}
  
  will be interpreted like:
  
.. code-block:: pycon
  
      if (athlete_list and coach_list) or cheerleader_list
  
  Use of actual parentheses in the :ttag:`if` tag is invalid syntax. If you need
  them to indicate precedence, you should use nested :ttag:`if` tags.
keep keep keep keep replace keep keep keep keep keep
 Refs #34140 -- Corrected rst code-block and various formatting issues in docs. 
docs/ref/templates/builtins.txt