summaryrefslogtreecommitdiff
path: root/jq.pyx
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-09-27 21:07:39 +0100
committerMichael Williamson <mike@zwobble.org>2013-09-27 21:07:39 +0100
commitbeb5731d6b908b7d4907cf60bc4d71e7b8750f80 (patch)
tree60821328832acc80b6bdad40d4cc910953317139 /jq.pyx
parente7223237e3e913678bf16e7d670238133807d710 (diff)
Rename raw argument to raw_input
Diffstat (limited to 'jq.pyx')
-rw-r--r--jq.pyx6
1 files changed, 3 insertions, 3 deletions
diff --git a/jq.pyx b/jq.pyx
index dc4ba6e..1802b49 100644
--- a/jq.pyx
+++ b/jq.pyx
@@ -51,9 +51,9 @@ cdef class _Program(object):
def __dealloc__(self):
jq_teardown(&self._jq)
- def transform(self, input, raw=False):
- raw_input = input if raw else json.dumps(input)
- result_strings = self._string_to_strings(raw_input)
+ def transform(self, input, raw_input=False):
+ string_input = input if raw_input else json.dumps(input)
+ result_strings = self._string_to_strings(string_input)
return _Result(result_strings)