mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.
Patch by Julien Palard.
This commit is contained in:
parent
87ec85f420
commit
1050d2d0c7
47 changed files with 329 additions and 128 deletions
|
@ -689,7 +689,10 @@ Operators
|
|||
|
||||
.. index:: single: operators
|
||||
|
||||
The following tokens are operators::
|
||||
The following tokens are operators:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
|
||||
+ - * ** / // % @
|
||||
<< >> & | ^ ~
|
||||
|
@ -703,7 +706,9 @@ Delimiters
|
|||
|
||||
.. index:: single: delimiters
|
||||
|
||||
The following tokens serve as delimiters in the grammar::
|
||||
The following tokens serve as delimiters in the grammar:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
( ) [ ] { }
|
||||
, : . ; @ = ->
|
||||
|
@ -716,12 +721,16 @@ of the list, the augmented assignment operators, serve lexically as delimiters,
|
|||
but also perform an operation.
|
||||
|
||||
The following printing ASCII characters have special meaning as part of other
|
||||
tokens or are otherwise significant to the lexical analyzer::
|
||||
tokens or are otherwise significant to the lexical analyzer:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
' " # \
|
||||
|
||||
The following printing ASCII characters are not used in Python. Their
|
||||
occurrence outside string literals and comments is an unconditional error::
|
||||
occurrence outside string literals and comments is an unconditional error:
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
$ ? `
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue