From 6f8bc31c1c483c025c5e96eefdb748b01f2f4aeb Mon Sep 17 00:00:00 2001 From: Tal Einat <532281+taleinat@users.noreply.github.com> Date: Tue, 25 Jun 2024 22:52:48 +0300 Subject: [PATCH] fix search_exact_byteslike argspec --- src/fuzzysearch/_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fuzzysearch/_common.c b/src/fuzzysearch/_common.c index 8bde84b..b462c12 100644 --- a/src/fuzzysearch/_common.c +++ b/src/fuzzysearch/_common.c @@ -18,7 +18,7 @@ search_exact_byteslike(PyObject *self, PyObject *args, PyObject *kwdict) { int subseq_sum; 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( args, kwdict,