diff options
| author | Georg Brandl <georg@python.org> | 2009-01-01 23:49:32 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-01-01 23:49:32 +0100 |
| commit | 57ad5365be590f8e65ac4a85fef5cb685fa08b55 (patch) | |
| tree | 9be92a2fc1db7405f0058bfab601a17478648e5e | |
| parent | 45c8e6b4f22e44208206b124a685ba273df284e2 (diff) | |
| download | sphinx-57ad5365be590f8e65ac4a85fef5cb685fa08b55.tar.gz | |
Fix long line.
| -rw-r--r-- | sphinx/pycode/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/pycode/__init__.py b/sphinx/pycode/__init__.py index d707db2d..03481233 100644 --- a/sphinx/pycode/__init__.py +++ b/sphinx/pycode/__init__.py @@ -233,8 +233,8 @@ class ModuleAnalyzer(object): indent += 1 elif type == token.DEDENT: indent -= 1 - # if the stacklevel is the same as it was before the last def/class block, - # this dedent closes that block + # if the stacklevel is the same as it was before the last + # def/class block, this dedent closes that block if stack and indent == stack[-1][3]: dtype, fullname, startline, _ = stack.pop() endline = spos[0] |
