summaryrefslogtreecommitdiff
path: root/simplejson/scanner.py
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2009-02-22 21:44:12 +0000
committerBob Ippolito <bob@redivi.com>2009-02-22 21:44:12 +0000
commitfbcdcec4059c87693cb662c8766324ec4e9727c8 (patch)
tree5f0c5f1513e3c46421155b424027317581c612af /simplejson/scanner.py
parent173ebd91f223afef30aebbc3da58fdafc935c3cc (diff)
downloadsimplejson-fbcdcec4059c87693cb662c8766324ec4e9727c8.tar.gz
fix long lines, make py2.6+ porting a bit easier
git-svn-id: http://simplejson.googlecode.com/svn/trunk@173 a4795897-2c25-0410-b006-0d3caba88fa1
Diffstat (limited to 'simplejson/scanner.py')
-rw-r--r--simplejson/scanner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/simplejson/scanner.py b/simplejson/scanner.py
index adbc6ec..0f26a6d 100644
--- a/simplejson/scanner.py
+++ b/simplejson/scanner.py
@@ -33,7 +33,8 @@ def py_make_scanner(context):
if nextchar == '"':
return parse_string(string, idx + 1, encoding, strict)
elif nextchar == '{':
- return parse_object((string, idx + 1), encoding, strict, _scan_once, object_hook)
+ return parse_object((string, idx + 1), encoding, strict,
+ _scan_once, object_hook)
elif nextchar == '[':
return parse_array((string, idx + 1), _scan_once)
elif nextchar == 'n' and string[idx:idx + 4] == 'null':