summaryrefslogtreecommitdiff
path: root/sphinx/ext/autodoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/ext/autodoc.py')
-rw-r--r--sphinx/ext/autodoc.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sphinx/ext/autodoc.py b/sphinx/ext/autodoc.py
index 110314242..85b89149b 100644
--- a/sphinx/ext/autodoc.py
+++ b/sphinx/ext/autodoc.py
@@ -372,8 +372,7 @@ class Documenter(object):
else:
# try to introspect the signature
args = self.format_args()
- if args is None:
- return ''
+
retann = self.retann
result = self.env.app.emit_firstresult(