#NEWLINE# def get_mapping( self ) : #NEWLINE# #INDENT# 'Returns the enumerations as a dictionary with naems as keys.' #NEWLINE# if ( self . _mapping is None ) : #NEWLINE# #INDENT# d = dict ( map ( ( lambda it : ( str ( it ) , it ) ) , self ) ) #NEWLINE# self . _mapping = self #NEWLINE# return d #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return self . _mapping