#NEWLINE# def __init__( self , * args , **kwargs ) : #NEWLINE# #INDENT# if ( args and ( not args ) ) : #NEWLINE# #INDENT# items = dict ( kwargs ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( ( len ( args ) == 1 ) and isinstance ( args [ 0 ] , collections . Mapping ) ) : #NEWLINE# #INDENT# items = args [ 0 ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise TypeError ( ) #NEWLINE# #UNINDENT# #UNINDENT# object . __setattr__ ( self , '_items' , items ) #NEWLINE# object . __setattr__ ( self , '_keys' , tuple ( sorted ( six . iterkeys ( items ) ) ) )