Re: maybe this is a print odds

2006-11-05 Thread Peter Otten
pipehappy wrote: > I come this code: > > Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit > (Intel)] on win > 32 > Type "help", "copyright", "credits" or "license" for more information. class He(object): > ... def __str__(self): > ... return "He" > ... hes =

maybe this is a print odds

2006-11-05 Thread pipehappy
I come this code: Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win 32 Type "help", "copyright", "credits" or "license" for more information. >>> class He(object): ... def __str__(self): ... return "He" ... >>> hes = [He(),He(),He()] >>> print hes [<__mai