Message211884
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). |
|
Date |
User |
Action |
Args |
2014-02-21 22:53:00 | terry.reedy | set | recipients:
+ terry.reedy, r.david.murray, docs@python, Jon.Shemitz |
2014-02-21 22:53:00 | terry.reedy | set | messageid: <1393023180.77.0.610258205912.issue20692@psf.upfronthosting.co.za> |
2014-02-21 22:53:00 | terry.reedy | link | issue20692 messages |
2014-02-21 22:53:00 | terry.reedy | create | |
|