
April 25, 2011
5:33 p.m.
On Mon, Apr 25, 2011 at 1:21 PM, Rob Cliffe <rob.cliffe@btinternet.com> wrote: ..
3.__class__ File "<stdin>", line 1 3.__class__ ^ SyntaxError: invalid syntax
Superficially the last example ought to be legal syntax (and return <type 'int'>).
If it was valid, then
3.e+7
would have to raise an attribute error instead of
3.e+7 30000000.0