From 3fecd0b3b64df671e7da4154999f956465e42385 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Sat, 4 Apr 2009 23:47:58 +0300 Subject: [PATCH] autodoc: call autodoc-process-signature hook even if introspecting item signature failed --- sphinx/ext/autodoc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sphinx/ext/autodoc.py b/sphinx/ext/autodoc.py index 53f533979..caf34345a 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(