Skip to content

Commit 90fb06d

Browse files
committed
type_ -> typ
1 parent 31c4296 commit 90fb06d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypy/semanal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,8 +1281,8 @@ def process_deprecated_overload(self, defn: OverloadedFuncDef) -> None:
12811281
self.msg.note("@overload should be placed before @deprecated", d)
12821282
elif (deprecated := self.get_deprecated(d)) is not None:
12831283
deprecation = True
1284-
if isinstance(type_ := item.func.type, CallableType):
1285-
typestr = f" {type_} "
1284+
if isinstance(typ := item.func.type, CallableType):
1285+
typestr = f" {typ} "
12861286
else:
12871287
typestr = " "
12881288
item.func.deprecated = (

0 commit comments

Comments
 (0)