We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6402cf7 commit 21ce041Copy full SHA for 21ce041
README.md
@@ -83,14 +83,14 @@ def hist() -> HashMap:
83
def hello(ctx: c_void_p) -> c_int64:
84
process_id = pid()
85
one = 1
86
- prev = hist().lookup(process_id)
+ prev = hist.lookup(process_id)
87
if prev:
88
previous_value = prev + 1
89
print(f"count: {previous_value} with {process_id}")
90
- hist().update(process_id, previous_value)
+ hist.update(process_id, previous_value)
91
return c_int64(0)
92
else:
93
- hist().update(process_id, one)
+ hist.update(process_id, one)
94
95
96
0 commit comments