2014-03-24 16:39 GMT+01:00 ysitu <notifications@github.com>:

> In networkx/algorithms/flow/preflow_push.py:
>
> > +
> > +    Examples
> > +    --------
> > +    >>> import networkx as nx
> > +    >>> G = nx.DiGraph()
> > +    >>> G.add_edge('x','a', capacity=3.0)
> > +    >>> G.add_edge('x','b', capacity=1.0)
> > +    >>> G.add_edge('a','c', capacity=3.0)
> > +    >>> G.add_edge('b','c', capacity=5.0)
> > +    >>> G.add_edge('b','d', capacity=4.0)
> > +    >>> G.add_edge('d','e', capacity=2.0)
> > +    >>> G.add_edge('c','y', capacity=2.0)
> > +    >>> G.add_edge('e','y', capacity=3.0)
> > +    >>> flow, F = nx.preflow_push(G, 'x', 'y')
> > +    >>> flow, F
> > +    (3.0, {'a': {'c': 2.0}, 'c': {'y': 2.0}, 'b': {'c': 0, 'd': 1.0}, 'e': {'y': 1.0}, 'd': {'e': 1.0}, 'y': {}, 'x': {'a': 2.0, 'b': 1.0}})
>
> I noticed that, too. I have changed it to print just one entry.
>
Great! That also works. Now all tests pass. I think this is ready to merge,
but maybe @loicseguin has some more comments.

Salut!