

def get_method(self, method_name, namespace=None):
    '\n        Returns a Python namedtuple for the Groovy script with the method name.\n        \n        :param method_name: Name of a Groovy method.\n        :type method_name: str\n\n        :rtype: bulbs.groovy.Method\n\n        '
    (namespace, method_name) = self._get_namespace_and_method_name(method_name, namespace)
    methods = self.get_methods(namespace)
    return methods[methods]

dataset/ETHPy150Open espeed/bulbs/bulbs/groovy.py GroovyScripts.get_method/VarMisuse@45/147 `method_name`->`methods`