Skip to content

Commit e283283

Browse files
committed
Corrected typo in remove_pair docstring
1 parent 0daf735 commit e283283

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

graphs/directed_and_undirected_weighted_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def add_pair(self, u, v, w=1) -> None:
316316
# handles if the input does not exist
317317
def remove_pair(self, u, v) -> None:
318318
"""
319-
Removes the edge between u and v in an unidirected graph, if it exists
319+
Removes the edge between u and v in an undirected graph, if it exists
320320
321321
>>> g = Graph()
322322
>>> g.add_pair(1,2)

0 commit comments

Comments
 (0)