From be5a43200323ad8a61491c03e39bc01cbc43f77f Mon Sep 17 00:00:00 2001 From: Shaygan Hooshyari Date: Tue, 3 Sep 2024 13:35:57 +0200 Subject: [PATCH] Move exclamation token to delimiters --- Doc/reference/lexical_analysis.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst index e80f994b2ef0bd..c2f5f145bb22b2 100644 --- a/Doc/reference/lexical_analysis.rst +++ b/Doc/reference/lexical_analysis.rst @@ -1003,7 +1003,7 @@ The following tokens are operators: + - * ** / // % @ << >> & | ^ ~ := - < > <= >= == != ! + < > <= >= == != .. _delimiters: @@ -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