mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-26 23:20:25 -05:00
Merge branch '2.4.x' into 2.x
This commit is contained in:
commit
339717d877
2 files changed
+2
-4
No files matched your search
@@ -16,6 +16,8 @@ Features added
|
||||
Bugs fixed
|
||||
----------
|
||||
|
||||
* #7343: Sphinx builds has been slower since 2.4.0 on debug mode
|
||||
|
||||
Testing
|
||||
--------
|
||||
|
||||
|
||||
@@ -479,8 +479,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)
|
||||
return method(node)
|
||||
else:
|
||||
super().dispatch_visit(node)
|
||||
@@ -497,8 +495,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)
|
||||
return method(node)
|
||||
else:
|
||||
super().dispatch_departure(node)
|
||||
|
||||
Reference in new issue
Block a user