mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Lots of small corrections by Andrew Kuchling (plus all new rotor docs)
This commit is contained in:
parent
4b4c664d2e
commit
16d6e7109d
62 changed files with 520 additions and 282 deletions
|
@ -133,7 +133,7 @@ tuples are immutable, the rules for literals apply here.
|
|||
(Note that tuples are not formed by the parentheses, but rather by use
|
||||
of the comma operator. The exception is the empty tuple, for which
|
||||
parentheses {\em are} required --- allowing unparenthesized ``nothing''
|
||||
in expressions would causes ambiguities and allow common typos to
|
||||
in expressions would cause ambiguities and allow common typos to
|
||||
pass uncaught.)
|
||||
\index{comma}
|
||||
\indexii{tuple}{display}
|
||||
|
@ -677,7 +677,7 @@ comma-separated values is required.
|
|||
An expression (condition) list containing at least one comma yields a
|
||||
tuple. The length of the tuple is the number of expressions
|
||||
(conditions) in the list. The expressions (conditions) are evaluated
|
||||
from left to right. (Conditions lists are used syntactically is a few
|
||||
from left to right. (Condition lists are used syntactically is a few
|
||||
places where no tuple is constructed but a list of values is needed
|
||||
nevertheless.)
|
||||
\obindex{tuple}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue