@@ -125,7 +125,7 @@ class PyDAG(PyDiGraph):
125125 ``PyDAG`` has runtime cycle detection enabled.
126126 :param bool multgraph: When this is set to ``False`` the created
127127 ``PyDAG`` object will not be a multigraph. When ``False`` if a method
128- call is made that would add parallel edges the the weight/weight from
128+ call is made that would add parallel edges the weight/weight from
129129 that method call will be used to update the existing edge in place.
130130 """
131131
@@ -596,7 +596,7 @@ def k_shortest_path_lengths(graph, start, k, edge_cost, goal=None):
596596 :param int start: The node index to find the shortest paths from
597597 :param int k: The kth shortest path to find the lengths of
598598 :param edge_cost: A python callable that will receive an edge payload and
599- return a float for the cost of that eedge
599+ return a float for the cost of that edge
600600 :param int goal: An optional goal node index, if specified the output
601601 dictionary
602602
@@ -732,7 +732,7 @@ def is_isomorphic_node_match(first, second, matcher, id_order=True):
732732 It should be the same type as the first graph.
733733 :param callable matcher: A python callable object that takes 2 positional
734734 one for each node data object. If the return of this
735- function evaluates to True then the nodes passed to it are vieded
735+ function evaluates to True then the nodes passed to it are viewed
736736 as matching.
737737 :param bool id_order: If set to ``False`` this function will use a
738738 heuristic matching order based on [VF2]_ paper. Otherwise it will
@@ -1144,7 +1144,7 @@ def closeness_centrality(graph, wf_improved=True):
11441144
11451145 The closeness centrality of a node :math:`u` is defined as the
11461146 reciprocal of the average shortest path distance to :math:`u` over all
1147- :math:`n-1` reachable nodes in the graph. In it's general form this can
1147+ :math:`n-1` reachable nodes in the graph. In its general form this can
11481148 be expressed as:
11491149
11501150 .. math::
0 commit comments