From aaa36b71683e2026ec67eeea1e7e678c041819f8 Mon Sep 17 00:00:00 2001 From: Schefflera-Arboricola <1509aditi@gmail.com> Date: Sun, 26 Nov 2023 18:23:35 +0530 Subject: [PATCH] modified doc in weighted.py --- nx_parallel/algorithms/shortest_paths/weighted.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nx_parallel/algorithms/shortest_paths/weighted.py b/nx_parallel/algorithms/shortest_paths/weighted.py index 5a2b143..68d4559 100644 --- a/nx_parallel/algorithms/shortest_paths/weighted.py +++ b/nx_parallel/algorithms/shortest_paths/weighted.py @@ -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))