Commit f90c6c2b authored by Tiago Peixoto's avatar Tiago Peixoto

Cosmetic documentation fix

parent b69fdece
......@@ -1157,11 +1157,11 @@ class Graph(object):
.. note::
If the option ``fast == False`` is given, this operation is
:math:`O(N + E)` (this is the default). Otherwise it is
:math:`O(k + k_{\text{last}})`, where :math:`k` is the (total)
degree of the vertex being deleted, and :math:`k_{\text{last}}` is
the (total) degree of the vertex with the largest index.
If the option ``fast == False`` is given, this operation is
:math:`O(N + E)` (this is the default). Otherwise it is
:math:`O(k + k_{\text{last}})`, where :math:`k` is the (total)
degree of the vertex being deleted, and :math:`k_{\text{last}}` is
the (total) degree of the vertex with the largest index.
.. warning::
......
......@@ -1029,7 +1029,7 @@ def shortest_distance(g, source=None, target=None, weights=None, max_dist=None,
the edge weights.
max_dist : scalar value (optional, default: None)
If specified, this limits the maximum distance of the vertices
are searched. This parameter has no effect if source is None.
searched. This parameter has no effect if source is None.
directed : bool (optional, default:None)
Treat graph as directed or not, independently of its actual
directionality.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment