22 Feb
2014
22 Feb
'14
4:23 a.m.
Terry J. Reedy added the comment:
I agree that the tutorial should somewhere make it clear (possibly with a FAQ link) that int literals must be parenthesized or spaced before .name attribute access because <literal>.name is parsed as (<literal>.)name.
That is a consequence of float literals not requiring a fractional part (unlike some other languages).
----------
nosy: +terry.reedy
_______________________________________
Python tracker