PEP 448: Resolve uses of the default role (#3403)
This commit is contained in:
parent
8a318a5400
commit
cf42856db1
|
@ -198,7 +198,7 @@ are already valid. These could be extended to::
|
|||
f(**x for x in it) == f({**x for x in it})
|
||||
|
||||
However, it wasn't clear if this was the best behaviour or if it should
|
||||
unpack into the arguments of the call to `f`. Since this is likely to be
|
||||
unpack into the arguments of the call to ``f``. Since this is likely to be
|
||||
confusing and is of only very marginal utility, it is not included in this
|
||||
PEP. Instead, these will throw a ``SyntaxError`` and comprehensions with
|
||||
explicit brackets should be used instead.
|
||||
|
@ -224,7 +224,7 @@ References
|
|||
.. [1] PEP accepted, "PEP 448 review", Guido van Rossum
|
||||
(https://mail.python.org/pipermail/python-dev/2015-February/138564.html)
|
||||
|
||||
.. [2] Issue 2292, "Missing `*`-unpacking generalizations", Thomas Wouters
|
||||
.. [2] Issue 2292, "Missing ``*``-unpacking generalizations", Thomas Wouters
|
||||
(https://github.com/python/cpython/issues/46545)
|
||||
|
||||
[3] Discussion on Python-ideas list,
|
||||
|
|
Loading…
Reference in New Issue