mirror of
https://github.com/python/cpython.git
synced 2025-08-10 20:08:47 +00:00
[3.12] gh-123579: Document exclamation token (GH-123612) (#123638)
(cherry picked from commit 68fe5758bf
)
Co-authored-by: Shaygan Hooshyari <sh.hooshyari@gmail.com>
This commit is contained in:
parent
ff4ad2ea89
commit
acb19be799
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue