diff options
author | Andy Freeland <andy@andyfreeland.net> | 2019-03-22 12:21:29 -0700 |
---|---|---|
committer | Andy Freeland <andy@andyfreeland.net> | 2019-03-22 12:21:29 -0700 |
commit | d99330c67ce6b0ab14a3ef5b13904260e2e4fe80 (patch) | |
tree | 951e6a2aec496aa66e3587ce95115464bd863587 | |
parent | 4791a2faa4e0aec57487b9176fe0eeacb5f2f38a (diff) | |
download | mako-d99330c67ce6b0ab14a3ef5b13904260e2e4fe80.tar.gz |
Document support for `with x as e:`
This has been supported since 8bebfc205230d41429a88c98b56d45acf7e67226
but isn't in the docs.
-rw-r--r-- | doc/build/syntax.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/build/syntax.rst b/doc/build/syntax.rst index e3dd7db..4d2814d 100644 --- a/doc/build/syntax.rst +++ b/doc/build/syntax.rst @@ -84,8 +84,8 @@ using another ``%`` marker with the tag "``end<name>``", where The ``%`` can appear anywhere on the line as long as no text precedes it; indentation is not significant. The full range of Python "colon" expressions are allowed here, including -``if``/``elif``/``else``, ``while``, ``for``, and even ``def``, although -Mako has a built-in tag for defs which is more full-featured. +``if``/``elif``/``else``, ``while``, ``for``, ``with``, and even ``def``, +although Mako has a built-in tag for defs which is more full-featured. .. sourcecode:: mako |