This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author spralja
Recipients serhiy.storchaka, spralja
Date 2022-02-26.09:09:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CABenZofvAJUsHHhe74+n+uX4dbSSWEaA0vU1HiekmdN8tpVuFg@mail.gmail.com>
In-reply-to <1645866438.37.0.762793560375.issue46865@roundup.psfhosted.org>
Content
I understand that it's invalid synatax, but not why.

On Sat, 26 Feb 2022 at 10:07, Serhiy Storchaka <report@bugs.python.org>
wrote:

>
> Serhiy Storchaka <storchaka+cpython@gmail.com> added the comment:
>
> It is an invalid syntax. Write foo(*((stri,) if stri else ())).
>
> ----------
> nosy: +serhiy.storchaka
> resolution:  -> not a bug
> stage:  -> resolved
> status: open -> closed
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue46865>
> _______________________________________
>
History
Date User Action Args
2022-02-26 09:09:46spraljasetrecipients: + spralja, serhiy.storchaka
2022-02-26 09:09:46spraljalinkissue46865 messages
2022-02-26 09:09:46spraljacreate