« Edward Tufte | Main | Isotoma in the Yorkshire Post »

You learn something new every day

And today's lesson was... basestring. The base class for str and unicode. Can be used with isinstance to test if you either str or unicode, rather than hacking around. It was definitely news to me, anyway...

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)