#NEWLINE# @ classmethod #NEWLINE# def add_multi_constructor( cls , tag_prefix , multi_constructor ) : #NEWLINE# #INDENT# if ( not ( 'yaml_multi_constructors' in cls . __dict__ ) ) : #NEWLINE# #INDENT# cls . yaml_multi_constructors = cls . yaml_multi_constructors . copy ( ) #NEWLINE# #UNINDENT# cls . yaml_multi_constructors [ tag_prefix ] = multi_constructor