mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Update sphinx/ext/autodoc/__init__.py
This commit is contained in:
parent
f3dd6c0bfa
commit
b787e4ab8d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user