human
I wrote the below code

    name = worder.get_name_at(resource, offset)
    this_pymodule = project.get_pymodule(resource)
    pyname = rope.base.evaluate.eval_location(this_pymodule, offset)
    if (pyname is not None):
        pyobject = pyname.get_object()
        if ((not isinstance(pyobject, rope.base.pyobjects.PyFunction)) or (pyobject.get_kind() != 'method')):
            raise exceptions.BadIdentifierError('Not    a    method!')
    else:
        raise exceptions.BadIdentifierError('Cannot    resolve    the    identifier!')
    def is_defined(occurrence):
        if (not occurrence.is_defined()):
            return False
    def not_self(occurrence):
        if (occurrence.get_pyname().get_object() == pyname.get_object()):
            return False
    filters = [is_defined, not_self, occurrences.InHierarchyFilter(pyname, True)]
    finder = occurrences.Finder(project, name, filters=filters)
    if (resources is None):
        resources = project.get_python_files()
    job_set = task_handle.create_jobset('Finding    Implementations', count=len(resources))
    return _find_locations(finder, resources, job_set)

What's a good function header?
 ... Here's a good function header?
assistant
#Here's a good function header.

def find_implementations(project, resource, offset, resources=None, task_handle=taskhandle.NullTaskHandle()):