diff options
author | Daniel Neuhäuser <ich@danielneuhaeuser.de> | 2010-05-01 19:17:52 +0200 |
---|---|---|
committer | Daniel Neuhäuser <ich@danielneuhaeuser.de> | 2010-05-01 19:17:52 +0200 |
commit | f6bf9b13ff40ae8dfbc9afe19db0da3fcbac8f93 (patch) | |
tree | 8e0d0a241c215040ebc33f1deb33c875bcaa5dfa /utils/reindent.py | |
parent | 47557af776de7772da88a5d3ceaad62bf9edaef6 (diff) | |
download | sphinx-git-f6bf9b13ff40ae8dfbc9afe19db0da3fcbac8f93.tar.gz |
Fixed issue #1
Diffstat (limited to 'utils/reindent.py')
-rwxr-xr-x | utils/reindent.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/reindent.py b/utils/reindent.py index c499f671e..bcb6b4343 100755 --- a/utils/reindent.py +++ b/utils/reindent.py @@ -244,12 +244,13 @@ class Reindenter: return line # Line-eater for tokenize. - def tokeneater(self, type, token, (sline, scol), end, line, + def tokeneater(self, type, token, scell, end, line, INDENT=tokenize.INDENT, DEDENT=tokenize.DEDENT, NEWLINE=tokenize.NEWLINE, COMMENT=tokenize.COMMENT, NL=tokenize.NL): + sline, scol = scell if type == NEWLINE: # A program statement, or ENDMARKER, will eventually follow, |