Thoughts on using isinstance

abcd codecraig at gmail.com
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?

Thanks.




More information about the Python-list mailing list