mirror of https://github.com/python/cpython
[3.13] gh-123579: Document exclamation token (GH-123612) (#123637)
(cherry picked from commit 68fe5758bf
)
Co-authored-by: Shaygan Hooshyari <sh.hooshyari@gmail.com>
This commit is contained in:
parent
67851201d8
commit
95ebca1e99
|
@ -1018,9 +1018,9 @@ The following tokens serve as delimiters in the grammar:
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
( ) [ ] { }
|
( ) [ ] { }
|
||||||
, : . ; @ = ->
|
, : ! . ; @ =
|
||||||
+= -= *= /= //= %= @=
|
-> += -= *= /= //= %=
|
||||||
&= |= ^= >>= <<= **=
|
@= &= |= ^= >>= <<= **=
|
||||||
|
|
||||||
The period can also occur in floating-point and imaginary literals. A sequence
|
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
|
of three periods has a special meaning as an ellipsis literal. The second half
|
||||||
|
|
Loading…
Reference in New Issue