Thoughts on using isinstance

abcd codecraig at
Wed Jan 24 18:18:38 CET 2007

Well my example function was simply taking a string and printing, but
most of my cases would be expecting a list, dictionary or some other
custom object.  Still propose not to validate the type of data being
passed in?


More information about the Python-list mailing list