We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fa7202 commit ba7e21fCopy full SHA for ba7e21f
pep-0646.rst
@@ -884,9 +884,8 @@ This accomplishes the desired outcome (making ``*args: *Ts`` not be a syntax
884
error) while matching the behaviour of star-unpacking in other contexts:
885
at runtime, ``__iter__`` is called on the starred object, and a tuple
886
containing the items of the resulting iterator is set as the type annotion
887
-for ``args``. In other words, at runtime ``*args: *foo`` is equivalent to
888
-``*args: tuple(*foo)`` and its abstract syntax tree is indistinguishable
889
-from ``*args: (*foo,)``.
+for ``args``. In other words, in both the Ast compiler output and the
+runtime, ``*args: *foo`` is indistinguishable from ``*args: (*foo,)``.
890
891
::
892
0 commit comments