Thoughts on using isinstance

abcd codecraig at gmail.com
Wed Jan 24 11:32:51 EST 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?

Thanks.




More information about the Python-list mailing list