From beb5731d6b908b7d4907cf60bc4d71e7b8750f80 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 27 Sep 2013 21:07:39 +0100 Subject: Rename raw argument to raw_input --- jq.pyx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'jq.pyx') 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) -- cgit v1.2.3