orted. The default `data is False` reports
    only node-tuples for each edge. If `data is True` the entire edge
    data dict is returned. Otherwise `data` is assumed to hold the name
    of the edge attribute to report with default `default` if  that
    edge attribute is not present.

    Parameters
    ----------
    nbunch : container of nodes, node or None (default None)
    data : False, True or string (default False)
    default : default value (default None)

    Examples
    --------
    >>> G = nx.path_graph(3)
    >>> G.add_edge(1, 2, foo='bar')
    >>> list(G.edges(data='foo', default='biz'))
    [(0, 1, 'biz'), (1, 2, 'bar')]
    >>> assert((0, 1, 'biz') in G.edges(data='foo', default='biz'))
    c