Note that comments are not allowed inside expressions.
This commit is contained in:
parent
3732c04a7a
commit
0c4d7c180b
|
@ -200,6 +200,9 @@ braces ``'{{'`` or ``'}}'`` are replaced by the corresponding single
|
|||
brace. Doubled opening braces do not signify the start of an
|
||||
expression.
|
||||
|
||||
Comments, using the ``'#'`` character, are not allowed inside the
|
||||
expression.
|
||||
|
||||
Following the expression, an optional type conversion may be
|
||||
specified. The allowed conversions are ``'!s'``, ``'!r'``, or
|
||||
``'!a'``. These are treated the same as in ``str.format()``: ``'!s'``
|
||||
|
|
Loading…
Reference in New Issue