Perhaps...

    for method in inspect.getmembers(cls, inspect.ismethod):