On Tue, Feb 4, 2020 at 9:41 PM Steven D'Aprano <st...@pearwood.info> wrote:
> Or if you don't like backslashes, trailing underscores are currently
> illegal, so we could use them:
>
>     P = 29674495668685510550154174642905332730771991_
>         79985304335099507553127683875317177019959423_
>         8596428121188033664754218345562493168782883
>

Another one to throw into the mix: Trailing underscores, but only if
the expression is incomplete. So in simple cases like this, that means
parenthesizing the number:

P = (29674495668685510550154174642905332730771991_
        79985304335099507553127683875317177019959423_
        8596428121188033664754218345562493168782883)

ChrisA
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/TTEDIQXY7E5CSL26CTZKCL4KBJJ35ORU/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to