summaryrefslogtreecommitdiff
path: root/sphinx/ext/autodoc.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-01-15 15:59:48 +0100
committerGeorg Brandl <georg@python.org>2011-01-15 15:59:48 +0100
commitf40758f054add3e321642b32c3676b32c2c295a8 (patch)
tree6e9d3a775e021a905530979fc14412ee4f9a5066 /sphinx/ext/autodoc.py
parentbb7bf21c7e47b6582b7f74c3d7b97cd684cfe796 (diff)
downloadsphinx-git-f40758f054add3e321642b32c3676b32c2c295a8.tar.gz
Make check.
Diffstat (limited to 'sphinx/ext/autodoc.py')
-rw-r--r--sphinx/ext/autodoc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/ext/autodoc.py b/sphinx/ext/autodoc.py
index bf3fa79b2..e00f6fd2c 100644
--- a/sphinx/ext/autodoc.py
+++ b/sphinx/ext/autodoc.py
@@ -427,7 +427,8 @@ class Documenter(object):
if isinstance(docstring, unicode):
return [prepare_docstring(docstring, ignore)]
elif docstring:
- return [prepare_docstring(force_decode(docstring, encoding), ignore)]
+ return [prepare_docstring(force_decode(docstring, encoding),
+ ignore)]
return []
def process_doc(self, docstrings):