diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-04-04 14:37:15 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-04-04 14:47:43 +0900 |
commit | 1b0d4672a41e91289292dd5d05b7fe09a8feec17 (patch) | |
tree | f30edab2c63042c88ed1e1ca8fe9cd9be9d71db0 /sphinx/util/nodes.py | |
parent | f7a2e081c867e5fb125561f1a3ec26d851a0aeeb (diff) | |
download | sphinx-git-1b0d4672a41e91289292dd5d05b7fe09a8feec17.tar.gz |
refactor: use raw Type for type annotations
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 61d688d8e..44eb5d303 100644 --- a/sphinx/util/nodes.py +++ b/sphinx/util/nodes.py @@ -58,7 +58,7 @@ class NodeMatcher: # => [<reference ...>, <reference ...>, ...] """ - def __init__(self, *node_classes: "Type[Node]", **attrs: Any) -> None: + def __init__(self, *node_classes: Type[Node], **attrs: Any) -> None: self.classes = node_classes self.attrs = attrs |