Skip to content

Commit 4724dd3

Browse files
Fix typo in vertex_count method documentation
1 parent 316ebdc commit 4724dd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cyaron/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self, point_count, directed=False):
4848
self.edges = [[] for i in range(point_count + 1)]
4949

5050
def vertex_count(self):
51-
"""edge_count(self) -> int
51+
"""vertex_count(self) -> int
5252
Return the vertex of the edges in the graph.
5353
"""
5454
return len(self.edges) - 1

0 commit comments

Comments
 (0)