We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 316ebdc commit 4724dd3Copy full SHA for 4724dd3
cyaron/graph.py
@@ -48,7 +48,7 @@ def __init__(self, point_count, directed=False):
48
self.edges = [[] for i in range(point_count + 1)]
49
50
def vertex_count(self):
51
- """edge_count(self) -> int
+ """vertex_count(self) -> int
52
Return the vertex of the edges in the graph.
53
"""
54
return len(self.edges) - 1
0 commit comments