Skip to content

Commit

Permalink
modified doc in weighted.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Schefflera-Arboricola committed Nov 26, 2023
1 parent 2abd434 commit aaa36b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nx_parallel/algorithms/shortest_paths/weighted.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def all_pairs_bellman_ford_path(G, weight="weight"):
Examples
--------
>>> import networkx as nx
>>> G = nx.Graph()
>>> G.add_weighted_edges_from([(1, 0, 1), (1, 2, 1), (2, 0, 3)])
>>> path = dict(nx.all_pairs_bellman_ford_path(G))
Expand Down

0 comments on commit aaa36b7

Please sign in to comment.