diff options
Diffstat (limited to 'python/nissy_module.c')
| -rw-r--r-- | python/nissy_module.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/python/nissy_module.c b/python/nissy_module.c index e92cfd9..46570dc 100644 --- a/python/nissy_module.c +++ b/python/nissy_module.c | |||
| @@ -324,8 +324,7 @@ PyDoc_STRVAR(solve_doc, | |||
| 324 | " - minmoves: the minimum number of moves to use\n" | 324 | " - minmoves: the minimum number of moves to use\n" |
| 325 | " - maxmoves: the maximum number of moves to use\n" | 325 | " - maxmoves: the maximum number of moves to use\n" |
| 326 | " - maxsolution: the maximum number of solutions to return\n" | 326 | " - maxsolution: the maximum number of solutions to return\n" |
| 327 | " - optimal: the largest number of moves from the shortest solution" | 327 | " - optimal: the largest number of moves from the shortest solution\n" |
| 328 | "(set to -1 to ignore)\n" | ||
| 329 | " - threads: the number of threads to use (0 for default)\n" | 328 | " - threads: the number of threads to use (0 for default)\n" |
| 330 | " - data: a bytearray containing the data for the solver\n" | 329 | " - data: a bytearray containing the data for the solver\n" |
| 331 | "\n" | 330 | "\n" |
| @@ -343,7 +342,7 @@ solve(PyObject *self, PyObject *args) | |||
| 343 | PyByteArrayObject *data; | 342 | PyByteArrayObject *data; |
| 344 | PyObject *list, *item; | 343 | PyObject *list, *item; |
| 345 | 344 | ||
| 346 | if (!PyArg_ParseTuple(args, "ssIIIIiiY", &cube, &solver, &nissflag, | 345 | if (!PyArg_ParseTuple(args, "ssIIIIIIY", &cube, &solver, &nissflag, |
| 347 | &minmoves, &maxmoves, &maxsolutions, &optimal, &threads, &data)) | 346 | &minmoves, &maxmoves, &maxsolutions, &optimal, &threads, &data)) |
| 348 | return NULL; | 347 | return NULL; |
| 349 | 348 | ||
