There was an error while loading. Please reload this page.
1 parent 9dc11d8 commit 4bbc20bCopy full SHA for 4bbc20b
1 file changed
Doc/library/ast.rst
@@ -806,7 +806,8 @@ Comprehensions
806
List and set comprehensions, generator expressions, and dictionary
807
comprehensions. ``elt`` (or ``key`` and ``value``) is a single node
808
representing the part that will be evaluated for each item.
809
-
+ For dictionary comprehensions using unpacking, for example
810
+ ``{**item for item in items}``, ``value`` is ``None``,
811
``generators`` is a list of :class:`comprehension` nodes.
812
813
.. doctest::
0 commit comments