diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-09-27 21:07:39 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-09-27 21:07:39 +0100 |
| commit | beb5731d6b908b7d4907cf60bc4d71e7b8750f80 (patch) | |
| tree | 60821328832acc80b6bdad40d4cc910953317139 /jq.pyx | |
| parent | e7223237e3e913678bf16e7d670238133807d710 (diff) | |
Rename raw argument to raw_input
Diffstat (limited to 'jq.pyx')
| -rw-r--r-- | jq.pyx | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |
