[Python-Dev] anomaly
Mark Rosenblitt-Janssen
dreamingforward at gmail.com
Mon May 11 02:14:18 CEST 2015
More information about the Python-Dev mailing list
Mon May 11 02:14:18 CEST 2015
- Previous message (by thread): [Python-Dev] anomaly
- Next message (by thread): [Python-Dev] anomaly
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): [Python-Dev] anomaly
- Next message (by thread): [Python-Dev] anomaly
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list