We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abd20c5 commit 528aa98Copy full SHA for 528aa98
1 file changed
sphinxarg/ext.py
@@ -5,7 +5,7 @@
5
import os
6
import sys
7
from argparse import ArgumentParser
8
-from typing import TYPE_CHECKING, ClassVar, cast
+from typing import TYPE_CHECKING, cast
9
10
from docutils import nodes
11
from docutils.frontend import get_default_settings
@@ -892,9 +892,7 @@ class ArgParseDomain(Domain):
892
'command': XRefRole(),
893
}
894
indices = []
895
- initial_data: ClassVar[
896
- dict[str, list[_ObjectDescriptionTuple] | dict[str, list[_ObjectDescriptionTuple]]]
897
- ] = {
+ initial_data = {
898
'commands': [],
899
'commands-by-group': {},
900
0 commit comments