summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Schult <dschult@colgate.edu>2016-04-22 16:49:26 -0400
committerDan Schult <dschult@colgate.edu>2016-04-22 16:49:26 -0400
commit9fcaea9cae8beaf46cbb9df0576102de92bbc691 (patch)
treea843ff0cb79160b0a7aba1eaf9212c251ce55309
parent2b3ff63879ab1e865e1cd4c3e7e35396d3e1c6c3 (diff)
downloadnetworkx-attrgraph.tar.gz
Remove typo in docstring of shortest_path_lengthattrgraph
-rw-r--r--networkx/algorithms/shortest_paths/generic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/networkx/algorithms/shortest_paths/generic.py b/networkx/algorithms/shortest_paths/generic.py
index 3742b383..97452c51 100644
--- a/networkx/algorithms/shortest_paths/generic.py
+++ b/networkx/algorithms/shortest_paths/generic.py
@@ -156,7 +156,7 @@ def shortest_path_length(G, source=None, target=None, weight=None):
source : node, optional
Starting node for path.
If not specified, compute shortest path lengths using all nodes as
- source nodes.i
+ source nodes.
target : node, optional
Ending node for path.