#NEWLINE# @ no ( 'newbytes' , 1 ) #NEWLINE# def endswith( self , prefix , * args ) : #NEWLINE# #INDENT# if isinstance ( prefix , Iterable ) : #NEWLINE# #INDENT# for thing in prefix : #NEWLINE# #INDENT# if isnewbytes ( thing ) : #NEWLINE# #INDENT# raise TypeError ( self . no_convert_msg . format ( type ( thing ) ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return super ( newstr , self ) . endswith ( prefix , * args )