mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
use stacklevel=2 for easier debugging
This commit is contained in:
parent
38fff57d72
commit
7433721617
@ -25,4 +25,4 @@ from sphinx.builders.linkcheck import CheckExternalLinksBuilder
|
||||
|
||||
warnings.warn('The sphinx.builder module is deprecated; please import '
|
||||
'builders from the respective sphinx.builders submodules.',
|
||||
DeprecationWarning)
|
||||
DeprecationWarning, stacklevel=2)
|
||||
|
Loading…
Reference in New Issue
Block a user