anomaly

Mark Rosenblitt-Janssen dreamingforward at gmail.com
Sun May 10 20:14:18 EDT 2015


In case the example given at the start of the thread wasn't
interesting enough, it also works in the other direction:
>>> class str(int): pass

>>> str('2')
2 #<----- an integer!!!
Mark


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /