in the string '%s. You passed in %r (%s)' replace every %s with original and type of the object self.obj as strings, respectively,
return '%s. You passed in %r (%s)' % ( original , self . obj , type ( self . obj ) )