def __init__(self, method, attr_name):
<EOL>self.translators = getattr(method.im_self, attr_name, {}).copy()<EOL>self.translators.update(getattr(method, attr_name, {}))<EOL>
Initialize a set of translators.  The translators for a given
method are derived from the class of the method, updated with
translators set on the method itself.  The `attr_name`
parameter specifies the attribute containing the translation
table.