fix search_exact_byteslike argspec

This commit is contained in:
Tal Einat 2024-06-25 22:52:48 +03:00
parent 5a5c741e4f
commit 6f8bc31c1c
No known key found for this signature in database
GPG Key ID: 613A98AF4C800CDA
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ search_exact_byteslike(PyObject *self, PyObject *args, PyObject *kwdict) {
int subseq_sum; int subseq_sum;
char *next_match_ptr; char *next_match_ptr;
const char* argspec = "y*y*|ll:search_exact_byteslike"; const char* argspec = "y*y*|nn:search_exact_byteslike";
if (unlikely(!PyArg_ParseTupleAndKeywords( if (unlikely(!PyArg_ParseTupleAndKeywords(
args, kwdict, args, kwdict,