From: Shaygan Hooshyari Date: Tue, 3 Sep 2024 14:49:38 +0000 (-0700) Subject: gh-123579: Document exclamation token (#123612) X-Git-Tag: v3.14.0a1~600 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=68fe5758bf1900ffdcdf7cd9e40f5018555a39d4;p=thirdparty%2FPython%2Fcpython.git gh-123579: Document exclamation token (#123612) --- diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst index 635d36537a06..c2f5f145bb22 100644 --- a/Doc/reference/lexical_analysis.rst +++ b/Doc/reference/lexical_analysis.rst @@ -1018,9 +1018,9 @@ The following tokens serve as delimiters in the grammar: .. code-block:: none ( ) [ ] { } - , : . ; @ = -> - += -= *= /= //= %= @= - &= |= ^= >>= <<= **= + , : ! . ; @ = + -> += -= *= /= //= %= + @= &= |= ^= >>= <<= **= The period can also occur in floating-point and imaginary literals. A sequence of three periods has a special meaning as an ellipsis literal. The second half