From b787e4ab8d410df75abfcd65b6a5b80ce56fed3d Mon Sep 17 00:00:00 2001 From: Eric Wieser Date: Sun, 3 May 2020 14:02:11 +0100 Subject: [PATCH] Update sphinx/ext/autodoc/__init__.py --- sphinx/ext/autodoc/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx/ext/autodoc/__init__.py b/sphinx/ext/autodoc/__init__.py index f7aae50c2..89698057a 100644 --- a/sphinx/ext/autodoc/__init__.py +++ b/sphinx/ext/autodoc/__init__.py @@ -751,7 +751,7 @@ class Documenter: # be cached anyway) self.analyzer.find_attr_docs() except PycodeError as err: - logger.debug('[autodoc] module analyzer failed:', excinfo=True) + logger.debug('[autodoc] module analyzer failed:', exc_info=True) # no source file -- e.g. for builtin and C modules self.analyzer = None # at least add the module.__file__ as a dependency