Skip to content

Commit

Permalink
Fix typo in PyDiGraph.add_edge docstring. (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhartman committed Jun 6, 2023
1 parent 94d5673 commit 2f41bd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/digraph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1065,8 +1065,8 @@ impl PyDiGraph {
/// Add an edge between 2 nodes.
///
/// Use add_child() or add_parent() to create a node with an edge at the
/// same time as an edge for better performance. Using this method will
/// enable adding duplicate edges between nodes if the ``check_cycle``
/// same time as an edge for better performance. Using this method
/// allows for adding duplicate edges between nodes if the ``multigraph``
/// attribute is set to ``True``.
///
/// :param int parent: Index of the parent node
Expand Down

0 comments on commit 2f41bd2

Please sign in to comment.