diff options
Diffstat (limited to 'sphinx/util/nodes.py')
| -rw-r--r-- | sphinx/util/nodes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/nodes.py b/sphinx/util/nodes.py index 9d500de76..78cd34f46 100644 --- a/sphinx/util/nodes.py +++ b/sphinx/util/nodes.py @@ -34,7 +34,7 @@ explicit_title_re = re.compile(r'^(.+?)\s*(?<!\x00)<(.*?)>$', re.DOTALL) caption_ref_re = explicit_title_re # b/w compat alias -class NodeMatcher(object): +class NodeMatcher: """A helper class for Node.traverse(). It checks that given node is an instance of specified node-classes and it has |
