Merge branch '2.x' into 3.x

This commit is contained in:
Takeshi KOMIYA 2020-03-22 23:49:22 +09:00
commit a6868e0ca1
2 changed files with 2 additions and 4 deletions

View File

@ -170,6 +170,8 @@ Features added
Bugs fixed
----------
* #7343: Sphinx builds has been slower since 2.4.0 on debug mode
Testing
--------

View File

@ -461,8 +461,6 @@ class SphinxTranslator(nodes.NodeVisitor):
for node_class in node.__class__.__mro__:
method = getattr(self, 'visit_%s' % (node_class.__name__), None)
if method:
logger.debug('SphinxTranslator.dispatch_visit calling %s for %s',
method.__name__, node)
method(node)
break
else:
@ -480,8 +478,6 @@ class SphinxTranslator(nodes.NodeVisitor):
for node_class in node.__class__.__mro__:
method = getattr(self, 'depart_%s' % (node_class.__name__), None)
if method:
logger.debug('SphinxTranslator.dispatch_departure calling %s for %s',
method.__name__, node)
method(node)
break
else: