Splitting numeric litterals
MRAB
python at mrabarnett.plus.com
Fri Jul 16 09:49:21 EDT 2010
Lawrence D'Oliveiro wrote:
> In message <mailman.749.1279159335.1673.python-list at python.org>, MRAB wrote:
>
>> Normally it's only string literals that could be so long that you might
>> want to split them over several lines. It is somewhat unusual to have a
>> _numeric_ literal that's very very long!
>
> Seems a peculiar assumption to make in a language that allows integers of
> arbitrary length, does it not?
What's the recommended maximum line length in Python? 80 characters? If
you take into account indentation, etc, that's still a long integer. And
it's still only the _recommended_ maximum.
More information about the Python-list
mailing list