mirror of
https://github.com/python/cpython.git
synced 2025-09-28 03:13:48 +00:00
fix markup
This commit is contained in:
parent
eb3d8d4665
commit
cc163bb5db
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ Additions
|
||||||
|
|
||||||
(a, b, *rest) = range(5)
|
(a, b, *rest) = range(5)
|
||||||
|
|
||||||
This sets *a* to 0, *b* to 1, and *rest to ``[2, 3, 4]``.
|
This sets *a* to 0, *b* to 1, and \*rest to ``[2, 3, 4]``.
|
||||||
|
|
||||||
* Dictionary comprehensions: ``{k: v for k, v in stuff}`` means the
|
* Dictionary comprehensions: ``{k: v for k, v in stuff}`` means the
|
||||||
same thing as ``dict(stuff)`` but is more flexible.
|
same thing as ``dict(stuff)`` but is more flexible.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue