diff options
author | Georg Brandl <georg@python.org> | 2014-11-07 15:03:06 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-11-07 15:03:06 +0100 |
commit | bbd315b82e65b9ebdf7523d70e2c51139e61a51e (patch) | |
tree | b120963d1c68b17ef48583a691ef65566e97316f /sphinx/util/docstrings.py | |
parent | 0889073f35d4cdce8f379da308bd62f5f50dd7b0 (diff) | |
parent | fa09ec000f5209076f1f886fcb909f5ffea718d6 (diff) | |
download | sphinx-git-bbd315b82e65b9ebdf7523d70e2c51139e61a51e.tar.gz |
merge with stable
Diffstat (limited to 'sphinx/util/docstrings.py')
-rw-r--r-- | sphinx/util/docstrings.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/util/docstrings.py b/sphinx/util/docstrings.py index 6b66eee9b..ae973d49e 100644 --- a/sphinx/util/docstrings.py +++ b/sphinx/util/docstrings.py @@ -34,7 +34,8 @@ def prepare_docstring(s, ignore=1): if i < len(lines): lines[i] = lines[i].lstrip() if margin < sys.maxsize: - for i in range(ignore, len(lines)): lines[i] = lines[i][margin:] + for i in range(ignore, len(lines)): + lines[i] = lines[i][margin:] # Remove any leading blank lines. while lines and not lines[0]: lines.pop(0) |