Skip to content

Commit 15df408

Browse files
committed
Merge branch 'cleanup/util-2c-typing-reformat-style' into cleanup/util-2d-inspect-typeguards
# Conflicts: # sphinx/util/typing.py
2 parents 79c8d9c + dbbdc22 commit 15df408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinx/util/typing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class _SpecialFormInterface(Protocol):
4444
UnionType = None
4545

4646
# classes that have an incorrect .__module__ attribute
47-
_INVALID_BUILTIN_CLASSES: Final[Mapping[Any, str]] = {
47+
_INVALID_BUILTIN_CLASSES: Final[Mapping[object, str]] = {
4848
Context: 'contextvars.Context', # Context.__module__ == '_contextvars'
4949
ContextVar: 'contextvars.ContextVar', # ContextVar.__module__ == '_contextvars'
5050
Token: 'contextvars.Token', # Token.__module__ == '_contextvars'

0 commit comments

Comments
 (0)