def __init__(self, func, name):
        self.name = name
        try:
            self.arg_pos = inspect.getargspec(func).args.index(self.name)
        except __HOLE__:
            # Not a positional parameter
            self.arg_pos = None
dataset/ETHPy150Open D-L/SimpleBookMarks/src/tornado/util.py/ArgReplacer.__init__