#NEWLINE# def index( self , * args , **kwargs ) : #NEWLINE# #INDENT# args = tuple ( ( ( x . encode ( 'utf-8' ) if ( type ( x ) != str ) else x ) for x in args ) ) #NEWLINE# return '{0}\n{1}' . format ( repr ( x ) , repr ( kwargs ) )