From 40f4b9da27f54b57cc682e5642a2b181d4488de8 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 10 Jul 2026 17:56:33 +0100 Subject: Document that _jv_to_python() consumes its input --- jq.pyx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'jq.pyx') diff --git a/jq.pyx b/jq.pyx index 8f7ebb8..2780a53 100644 --- a/jq.pyx +++ b/jq.pyx @@ -70,7 +70,10 @@ cdef extern from "jq.h": cdef object _jv_to_python(jv value): - """Unpack a jv value into a Python value""" + """Unpack a jv value into a Python value. + + Consumes the input value.""" + cdef jv_kind kind = jv_get_kind(value) cdef int idx cdef jv property_key -- cgit v1.2.3