Python Unexpected Exception Name Basestring Is Not Defined When

Python Unexpected Exception Name Basestring Is Not Defined When