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:
@ -93,7 +93,7 @@ class HashMapOpenAddressing:
|
||||
if pair not in [None, self.removed]:
|
||||
self.put(pair.key, pair.val)
|
||||
|
||||
def print(self) -> None:
|
||||
def print(self):
|
||||
"""打印哈希表"""
|
||||
for pair in self.buckets:
|
||||
if pair is not None:
|
||||
|
Reference in New Issue
Block a user