Skip to content

Commit 55b4126

Browse files
committed
fix type hint
1 parent 466ee43 commit 55b4126

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mypy/checker.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7577,7 +7577,9 @@ def warn_deprecated(self, node: SymbolNode | None, context: Context) -> None:
75777577
warn = self.msg.fail if self.options.report_deprecated_as_error else self.msg.note
75787578
warn(deprecated, context, code=codes.DEPRECATED)
75797579

7580-
def search_deprecated(self, typ: Type | None, s: AssignmentStmt, visited: set[Type]) -> None:
7580+
def search_deprecated(
7581+
self, typ: Type | None, s: AssignmentStmt, visited: set[Type | None]
7582+
) -> None:
75817583

75827584
if typ not in visited:
75837585
visited.add(typ)

0 commit comments

Comments
 (0)