#NEWLINE# def uid( self , args ) : #NEWLINE# #INDENT# uid = args [ 1 ] #NEWLINE# uid = ESCAPE_PATTERN . sub ( ( lambda m : chr ( int ( m . group ( 1 ) , 16 ) ) ) , uid ) #NEWLINE# for ( k , v ) in BASIC_ESCAPES . items ( ) : #NEWLINE# #INDENT# uid = uid . replace ( k , v ) #NEWLINE# #UNINDENT# self . curkey [ 'uids' ] . append ( args ) #NEWLINE# self . uids . append ( uid )