return a string '<%s token: "%s...">' with '%s', replace '%s' with token_name and 20 self.contents elements with every newline deleted.
return ( '<%s token: "%s...">' % ( token_name , self . contents [ : 20 ] . replace ( '\n' , '' ) ) )