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 | cac6f969484b40f4398d11f1f81efb9ce9808d62 (patch) | |
| tree | 9be92a2fc1db7405f0058bfab601a17478648e5e /sphinx/pycode | |
| parent | a10c326bdd25f382532770684aec1100adaac6c7 (diff) | |
| download | sphinx-git-cac6f969484b40f4398d11f1f81efb9ce9808d62.tar.gz | |
Fix long line.
Diffstat (limited to 'sphinx/pycode')
| -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 d707db2d6..03481233f 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] |
