(obj)
return methods.items()
introspects the given (local) object, returning a list of all of its
    methods (going up the MRO).
    
    :param obj: any local (not proxy) python object
    
    :returns: a list of ``(method name, docstring)`` tuples of all the methods
              of the given object
introspects the given (local) object, returning a list of all of its
    methods (going up the MRO).
    
    :param obj: any local (not proxy) python object
    
    :returns: a list of ``(method name, docstring)`` tuples of all the methods
              of the given object
introspects the given ( local ) object returning a list of all of its methods ( going up the MRO ) . : param obj : any local ( not proxy ) python object : returns : a list of ( method name docstring ) tuples of all the methods of the given object
def inspect_methods(obj):
    """introspects the given (local) object, returning a list of all of its
    methods (going up the MRO).
    
    :param obj: any local (not proxy) python object
    
    :returns: a list of ``(method name, docstring)`` tuples of all the methods
              of the given object
    """
    methods = {}
    attrs = {}
    if isinstance(obj, type):
        # don't forget the darn metaclass
        mros = list(reversed(type(obj).__mro__)) + list(reversed(obj.__mro__))
    else:
        mros = reversed(type(obj).__mro__)
    for basecls in mros:
        attrs.update(basecls.__dict__)
    for name, attr in attrs.items():
        if name not in _local_netref_attrs and hasattr(attr, "__call__"):
            methods[name] = inspect.getdoc(attr)
    return methods.items()
def inspect_methods ( obj ) : methods = { } attrs = { } if isinstance ( obj , type ) : # don't forget the darn metaclass mros = list ( reversed ( type ( obj ) . __mro__ ) ) + list ( reversed ( obj . __mro__ ) ) else : mros = reversed ( type ( obj ) . __mro__ ) for basecls in mros : attrs . update ( basecls . __dict__ ) for name , attr in attrs . items ( ) : if name not in _local_netref_attrs and hasattr ( attr , "__call__" ) : methods [ name ] = inspect . getdoc ( attr ) return methods . items ( )