#NEWLINE# def _gen_key( self , node , type_list ) : #NEWLINE# #INDENT# 'generate the key\n        node: the name of the node (string)\n        type_list: list of <variable_name> (string list)\n        return: a key \n            <graph name><sep><node_name><sep><variable_name>[<sep><other>]*\n            (string)\n        ' #NEWLINE# key = ( '%(graph)s%(separator)s%(node)s' % { #NEWLINE# #INDENT# 'node' : node , #NEWLINE# 'graph' : self . graph , #NEWLINE# 'separator' : self . separator , #NEWLINE# #UNINDENT# } ) #NEWLINE# for subtype in type_list : #NEWLINE# #INDENT# key = ( ( key + self . separator ) + subtype ) #NEWLINE# #UNINDENT# return key