def create_broadcast(src_atr_name, dest_processors, dest_atr_name=None, transform_function=lambda x: x):
from functools import partial<EOL>if dest_atr_name == None:<EOL><INDENT>dest_atr_name = src_atr_name<EOL><DEDENT>if not hasattr(dest_processors, "<STR_LIT>"):  <EOL><INDENT>dest_processors = [dest_processors]<EOL><DEDENT>return partial(_broadcast, src_atr_name=src_atr_name, dest_processors=dest_processors, dest_atr_name=dest_atr_name,<EOL>transform_function=transform_function)<EOL>
This method creates a function, intended to be called as a
Processor posthook, that copies some of the processor's attributes
to other processors