def _make_units(*units):
units_map = {}<EOL>for value, names in units:<EOL><INDENT>units_map[value] = names[<NUM_LIT:0>]<EOL>for name in names:<EOL><INDENT>units_map[name] = value<EOL><DEDENT><DEDENT>return units_map<EOL>
Units map helper.  Each argument is treated as a unit
descriptor--a tuple where the first element specifies a numerical
value, and the second element consists of a sequence of names for
that value.  Returns a dictionary where each name is mapped to the
numerical value, and the numerical value is mapped to the first
name.