summaryrefslogtreecommitdiff
path: root/jq.pyx
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-03-16 15:02:51 +0000
committerMichael Williamson <mike@zwobble.org>2023-03-16 15:02:51 +0000
commitbece8d1547b3c68f4a99b13ed1e1c8d93380f6e0 (patch)
treeddeb245e822b499a8a677a9c6c269880cea53759 /jq.pyx
parent7a09606ae38a18f814b40ec7041f189de2d65b5a (diff)
Use more specific type for param
Diffstat (limited to 'jq.pyx')
-rw-r--r--jq.pyx2
1 files changed, 1 insertions, 1 deletions
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