mf2util.py
def find_first_entry(parsed, types):
    """Find the first interesting h-* object in BFS-order

    :param dict parsed: a mf2py parsed dict
    :param list types: target types, e.g. ['h-entry', 'h-event']
    :return: an mf2py item that is one of `types`, or None
    """
    return next(_find_all_entries(parsed, types, False), None)
Find the first interesting h-* object in BFS-order

    :param dict parsed: a mf2py parsed dict
    :param list types: target types, e.g. ['h-entry', 'h-event']
    :return: an mf2py item that is one of `types`, or None
    
Find the first interesting h-* object in BFS-order
Find the first interesting h - * object in BFS - order
def find_first_entry(parsed, types):
    return next(_find_all_entries(parsed, types, False), None)
def find_first_entry ( parsed , types ) : return next ( _find_all_entries ( parsed , types , False ) , None )
Find the first interesting h-* object in BFS-order
Find the first interesting h - * object in BFS - order
"""Find the first interesting h-* object in BFS-order

    :param dict parsed: a mf2py parsed dict
    :param list types: target types, e.g. ['h-entry', 'h-event']
    :return: an mf2py item that is one of `types`, or None
    """
an mf2py item that is one of `types`, or None
an mf2py item that is one of ` types ` or None
parsed
a mf2py parsed dict
a mf2py parsed dict
types
target types, e.g.
target types e . g .