mirror of
https://github.com/varun-r-mallya/Python-BPF.git
synced 2025-12-31 21:06:25 +00:00
janitorial
This commit is contained in:
@ -4,7 +4,7 @@ class HashMap:
|
||||
self.value_type = value_type
|
||||
self.max_entries = max_entries
|
||||
self.entries = {}
|
||||
|
||||
|
||||
def lookup(self, key):
|
||||
if key in self.entries:
|
||||
return self.entries[key]
|
||||
|
||||
Reference in New Issue
Block a user