[KongchangAI]
Concept推导式解包 / Comprehension Unpacking

PEP 798

A Python Enhancement Proposal that allows the unpacking operator (*) to be used directly in list, set, and dictionary comprehensions. It is a natural extension of the unpacking syntax from PEP 448 and was proposed by Adam Hartz and Erik Demaine.

Timeline (last 90 days)

Oct 12

PEP 798 introduces comprehension unpacking syntax, allowing the unpacking operator to be used directly in list, set and dictionary comprehensions.

Unverified50%
Oct 12

PEP 798 was proposed by Adam Hartz and Erik Demaine and is an extension of the PEP 448 unpacking syntax from Python 3.5 in 2015.

Unverified50%

All Facts (2)

Source Articles