Skip to content

Commit 9ce13a7

Browse files
committed
Change to new pybm.run example calling convention
1 parent ae35390 commit 9ce13a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/sum-example.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def f():
146146
147147
148148
if __name__ == "__main__":
149-
pybm.run(context=globals())
149+
pybm.run(module_context=globals())
150150
```
151151
152152
The test file is very simple: We import our function `my_sum`, sum up all numbers from 1 to 10000, and run the benchmark

0 commit comments

Comments
 (0)