diff --git a/python/tskit/trees.py b/python/tskit/trees.py index cd7a7af24b..efd452a351 100644 --- a/python/tskit/trees.py +++ b/python/tskit/trees.py @@ -2976,7 +2976,7 @@ def rf_distance(self, other): def path_length(self, u, v): """ - Returns a count of the number of edges between two nodes in this tree. + Returns the number of edges on the path in this tree between the two nodes. If the two nodes have a most recent common ancestor, then this is defined as ``tree.depth(u) + tree.depth(v) - 2 * tree.depth(tree.mrca(u, v))``. If the nodes do not have an MRCA (i.e., they are in disconnected subtrees) the path length