<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-8-i">
</head>
<body dir="auto">
<div>The semantics seem fairly obvious if you treat it as changing the method calls. For lists, * uses .extend() instead of .append(). Sets use * for .update() instead of .add(). Dicts use ** for .update() instead of __setitem__. In that case x should be a
 mapping (or iterable of pairs maybe), and all pairs in that should be added to the dict. In generator expressions * means yield from instead of just yield. The ** in dicts is needed to distinguish between set and dict comprehensions, since it doesn't use a
 colon.</div>
<div id="AppleMailSignature"><br>
Spencer</div>
<div><br>
On 13 Oct. 2016, at 6:41 am, אלעזר <<a href="mailto:elazarg@gmail.com">elazarg@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div dir="ltr">To be honest, I don't have a clear picture of what <span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">{**x for x in d.items()} should be. But I do have such picture for</span>
<div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif"><br>
</span></div>
<div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">    dict(</span><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">**x for x in many_dictionaries)</span></div>
<div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif"><br>
</span></div>
<div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">Elazar</span></div>
</div>
</blockquote>
</body>
</html>