Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Doc/library/ast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,8 @@ Comprehensions
List and set comprehensions, generator expressions, and dictionary
comprehensions. ``elt`` (or ``key`` and ``value``) is a single node
representing the part that will be evaluated for each item.

For dictionary comprehensions using unpacking, for example
``{**item for item in items}``, ``value`` is ``None``,
``generators`` is a list of :class:`comprehension` nodes.

.. doctest::
Expand Down
Loading