mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-05 21:19:41 +08:00
Remove -> None
for Python functions
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
class Vertex:
|
||||
"""顶点类"""
|
||||
|
||||
def __init__(self, val: int) -> None:
|
||||
def __init__(self, val: int):
|
||||
self.val = val
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user