mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix typo
This commit is contained in:
parent
057ef31182
commit
e96ebc59aa
@ -48,7 +48,7 @@ class _ModuleWrapper(object):
|
|||||||
def __getattr__(self, name):
|
def __getattr__(self, name):
|
||||||
# type: (str) -> Any
|
# type: (str) -> Any
|
||||||
if name in self._objects:
|
if name in self._objects:
|
||||||
warnings.warn("%s.%s is now deprecated. Please refer CHANGES to grasp"
|
warnings.warn("%s.%s is now deprecated. Please refer CHANGES to grasp "
|
||||||
"the changes of Sphinx API." % (self._modname, name),
|
"the changes of Sphinx API." % (self._modname, name),
|
||||||
self._warning, stacklevel=3)
|
self._warning, stacklevel=3)
|
||||||
return self._objects[name]
|
return self._objects[name]
|
||||||
|
Loading…
Reference in New Issue
Block a user