(obj)
return temp
Return a list of names of methods of `obj`
Return a list of names of methods of `obj`
Return a list of names of methods of obj
def all_methods(obj):
    '''
    Return a list of names of methods of `obj`
    '''
    temp = []
    for name in dir(obj):
        func = getattr(obj, name)
        if callable(func):
            temp.append(name)
    return temp
def all_methods ( obj ) : temp = [ ] for name in dir ( obj ) : func = getattr ( obj , name ) if callable ( func ) : temp . append ( name ) return temp