Menu

Commit [r26127]  Maximize  Restore  History

Modified the lib.arg_check.is_str_or_inst() function to work with Python 3.

Instead of checking for cStringIO.OutputType, which does not exist in Python 3, the argument is
simply checked to see if it has a write() method.

bugman 2014-10-01

changed /trunk/lib/arg_check.py
/trunk/lib/arg_check.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.