mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix autodoc: Update error message on filtering members
This commit is contained in:
parent
6c6fed5e55
commit
10efd31c46
@ -812,9 +812,9 @@ class Documenter:
|
|||||||
if skip_user is not None:
|
if skip_user is not None:
|
||||||
keep = not skip_user
|
keep = not skip_user
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
logger.warning(__('autodoc: failed to determine %r to be documented, '
|
logger.warning(__('autodoc: failed to determine %s.%s (%r) to be documented, '
|
||||||
'the following exception was raised:\n%s'),
|
'the following exception was raised:\n%s'),
|
||||||
member, exc, type='autodoc')
|
self.name, membername, member, exc, type='autodoc')
|
||||||
keep = False
|
keep = False
|
||||||
|
|
||||||
if keep:
|
if keep:
|
||||||
|
Loading…
Reference in New Issue
Block a user