@classmethod
    def from_lambda(cls, name, lambda_):
        argspec = inspect.getargspec(lambda_)
        if argspec.varargs or argspec.keywords or argspec.defaults:
            raise TypeError(
                'functions cannot have starargs or defaults: {0} {1}'.format(
                    name, lambda_
                )
            )
        return cls(name, argspec.args, lambda_)
Merge the given translations into the catalog.
dataset/ETHPy150Open dahlia/libsass-python/sass.py/SassFunction.from_lambda--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Babel-0.9.6/babel/support.py/Translations.merge