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.
2 parents 79c8d9c + dbbdc22 commit 15df408Copy full SHA for 15df408
sphinx/util/typing.py
@@ -44,7 +44,7 @@ class _SpecialFormInterface(Protocol):
44
UnionType = None
45
46
# classes that have an incorrect .__module__ attribute
47
-_INVALID_BUILTIN_CLASSES: Final[Mapping[Any, str]] = {
+_INVALID_BUILTIN_CLASSES: Final[Mapping[object, str]] = {
48
Context: 'contextvars.Context', # Context.__module__ == '_contextvars'
49
ContextVar: 'contextvars.ContextVar', # ContextVar.__module__ == '_contextvars'
50
Token: 'contextvars.Token', # Token.__module__ == '_contextvars'
0 commit comments