From 4724dd35cd301174feee4bb5d80ffd635e1a6dcc Mon Sep 17 00:00:00 2001 From: "Mr. Python" <2789762371@qq.com> Date: Sun, 27 Oct 2024 02:21:26 +0800 Subject: [PATCH] Fix typo in vertex_count method documentation --- cyaron/graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyaron/graph.py b/cyaron/graph.py index 48e8f0a..f122837 100644 --- a/cyaron/graph.py +++ b/cyaron/graph.py @@ -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