Still the __new__ hell ...

greg greg at cosc.canterbury.ac.nz
Tue Mar 20 02:27:43 EDT 2007


Steve Holden wrote:

>  >>> basestring
> <type 'basestring'>

You're right, I'm not sure what made me think it
was a tuple. Maybe because people used to write
isinstance(x, (str, unicode)) before basestring
existed.

--
Greg



More information about the Python-list mailing list