def _get_method(obj, name):
    name = str(name)
    try:
        return getattr(obj, name)
    except __HOLE__:
        raise ValueError("Method %r not found in: %s" % (name, obj))
dataset/ETHPy150Open scrapy/scrapy/scrapy/utils/reqser.py/_get_method