Skip to content

Commit

Permalink
Fix typo in vertex_count method documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Python-in-China committed Oct 26, 2024
1 parent 316ebdc commit 4724dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cyaron/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def __init__(self, point_count, directed=False):
self.edges = [[] for i in range(point_count + 1)]

def vertex_count(self):
"""edge_count(self) -> int
"""vertex_count(self) -> int
Return the vertex of the edges in the graph.
"""
return len(self.edges) - 1
Expand Down

0 comments on commit 4724dd3

Please sign in to comment.