From bece8d1547b3c68f4a99b13ed1e1c8d93380f6e0 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 16 Mar 2023 15:02:51 +0000 Subject: Use more specific type for param --- jq.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jq.pyx b/jq.pyx index 174cea3..56bf7d4 100644 --- a/jq.pyx +++ b/jq.pyx @@ -307,7 +307,7 @@ cdef class _ResultIterator(object): self._jq_state_pool.release(self._jq) jv_parser_free(self._parser) - def __cinit__(self, _JqStatePool jq_state_pool, object bytes_input): + def __cinit__(self, _JqStatePool jq_state_pool, bytes bytes_input): self._jq_state_pool = jq_state_pool self._jq = jq_state_pool.acquire() self._bytes_input = bytes_input -- cgit v1.2.3