pook/mock.py
def _append_funcs(target, items):
    """
    Helper function to append functions into a given list.

    Arguments:
        target (list): receptor list to append functions.
        items (iterable): iterable that yields elements to append.
    """
    [target.append(item) for item in items
     if isfunction(item) or ismethod(item)]
def _append_funcs(target, items):
    [target.append(item) for item in items
     if isfunction(item) or ismethod(item)]
def _append_funcs ( target , items ) : [ target . append ( item ) for item in items if isfunction ( item ) or ismethod ( item ) ]
Helper function to append functions into a given list.

    Arguments:
        target (list): receptor list to append functions.
        items (iterable): iterable that yields elements to append.
Helper function to append functions into a given list .