Skip to content

Commit 0bb9eb7

Browse files
committed
Use positional only arguments to avoid WASI build failure
1 parent 441b11d commit 0bb9eb7

File tree

2 files changed

+60
-106
lines changed

2 files changed

+60
-106
lines changed

Modules/_testinternalcapi/clinic/test_lock.c.h

Lines changed: 58 additions & 105 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/_testinternalcapi/test_lock.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ _testinternalcapi.benchmark_locks
289289
total_iters: Py_ssize_t = 0
290290
num_locks: Py_ssize_t = 1
291291
random_locks: bool = False
292+
/
292293
293294
[clinic start generated code]*/
294295

@@ -300,7 +301,7 @@ _testinternalcapi_benchmark_locks_impl(PyObject *module,
300301
Py_ssize_t total_iters,
301302
Py_ssize_t num_locks,
302303
int random_locks)
303-
/*[clinic end generated code: output=6258dc9de8cb9af1 input=6d3b65d51a6fd46e]*/
304+
/*[clinic end generated code: output=6258dc9de8cb9af1 input=d622cf4e1c4d008b]*/
304305
{
305306
// Run from Tools/lockbench/lockbench.py
306307
// Based on the WebKit lock benchmarks:

0 commit comments

Comments
 (0)