"Terry Reedy" <[EMAIL PROTECTED]> wrote: > Any what if 'filelist' is any iterable other than a string or list? Your > code is broken, and unnecessarily so. So I would call the parameter > 'files' and test for isinstance(files, str) #or basestring. And wrap if it > is.
Can you give an example of such an iterable (other than a tuple)? I'd certainly like to fix my 'fix' to work for a more general case. Regards, -Basilisk96 -- http://mail.python.org/mailman/listinfo/python-list