substitute '%s' from string "<%s: %s (%s)>" with self.__class__.__name__, self.name and self.content_type, respectively, use it as an argument for the call to the function force_str, return the result.
return force_str ( "<%s: %s (%s)>" % ( self . __class__ . __name__ , self . name , self . content_type ) )