New user's initial thoughts / criticisms of Python
Chris Angelico
rosuav at gmail.com
Sun Nov 10 18:29:56 EST 2013
On Mon, Nov 11, 2013 at 4:12 AM, Dennis Lee Bieber
<wlfraed at ix.netcom.com> wrote:
>>>> -123 .bit_length()
> -7
>
> No parens needed if a space precedes the .
Heh! I would call that an inferior alternative to the parentheses
though; it's so unusual to put a space before the dot that I wouldn't
consider it something to do in normal code. Anyone coming through and
editing would see it as a mistake to be fixed.
ChrisA
More information about the Python-list
mailing list