diff options
| author | Georg Brandl <georg@python.org> | 2008-12-07 22:36:23 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2008-12-07 22:36:23 +0100 |
| commit | 25c6f7d4e06b73e69d784780ef9918ef3d526238 (patch) | |
| tree | ae112da84b06e44e260313b72de22ec20d2137bf /sphinx/ext | |
| parent | 306aa81b3fa99e4517552f36155685b8cb577b13 (diff) | |
| download | sphinx-25c6f7d4e06b73e69d784780ef9918ef3d526238.tar.gz | |
Fix autoclass_content = "both" bug.
Diffstat (limited to 'sphinx/ext')
| -rw-r--r-- | sphinx/ext/autodoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/autodoc.py b/sphinx/ext/autodoc.py index 6d62c23c..bb7af93c 100644 --- a/sphinx/ext/autodoc.py +++ b/sphinx/ext/autodoc.py @@ -244,7 +244,7 @@ class RstGenerator(object): if content == 'init': docstrings = [initdocstring] else: - docstrings.append('\n\n' + initdocstring) + docstrings.append(initdocstring) # the default is only the class docstring # decode the docstrings using the module's source encoding |
