#NEWLINE# def __init__( self , source , label , attribute = None , func = None ) : #NEWLINE# #INDENT# self . source = source #NEWLINE# self . label = label #NEWLINE# self . attribute = attribute #NEWLINE# self . func = func #NEWLINE# self . __class__ . _registry . setdefault ( source , [ ] ) #NEWLINE# self . __class__ . _registry [ source ] . append ( self )