osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Explanation of list reference


Ian Kelly <ian.g.kelly at gmail.com>:

>>>> (1).__str__()
> '1'

Fair enough.

The syntactic awkwardness, then, explains why numbers don't have an
evolved set of methods (unlike strings).


Marko