def __init__(self, method):
self.method = method<EOL>self.serializers = types.Translators(method, '<STR_LIT>')<EOL>self.deserializers = types.Translators(method, '<STR_LIT>')<EOL>self.isgenerator = inspect.isgeneratorfunction(method)<EOL>self.argspec = inspect.getargspec(method)<EOL>self.argidx = int(inspect.ismethod(method))<EOL>
Initializes an ActionMethod object for the given method.  The
lists of serializers and deserializers are converted into
Translators for ease of use later.  Also caches some useful
information, such as the isgenerator attribute.