summaryrefslogtreecommitdiff
path: root/simplejson/decoder.py
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2008-09-25 04:42:32 +0000
committerBob Ippolito <bob@redivi.com>2008-09-25 04:42:32 +0000
commit6f602938e931e18e33dd7ee4600a60640154cb56 (patch)
tree7a14f986fb5eb20a3ecf4cc842caa44f0bd27c08 /simplejson/decoder.py
parent03714d72a55e6b97fe988d1d5f0384e25c415871 (diff)
downloadsimplejson-6f602938e931e18e33dd7ee4600a60640154cb56.tar.gz
gratuitous comments, some additional type checking
git-svn-id: http://simplejson.googlecode.com/svn/trunk@109 a4795897-2c25-0410-b006-0d3caba88fa1
Diffstat (limited to 'simplejson/decoder.py')
-rw-r--r--simplejson/decoder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/simplejson/decoder.py b/simplejson/decoder.py
index 9e69f6a..a416818 100644
--- a/simplejson/decoder.py
+++ b/simplejson/decoder.py
@@ -34,6 +34,7 @@ def linecol(doc, pos):
def errmsg(msg, doc, pos, end=None):
+ # Note that this function is called from _speedups
lineno, colno = linecol(doc, pos)
if end is None:
return '%s: line %d column %d (char %d)' % (msg, lineno, colno, pos)