Skip to content

Commit 17dc9bd

Browse files
committed
type-guard --work-properly
Also update some messages
1 parent 0b79bf7 commit 17dc9bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mypy/typeops.py

+1
Original file line numberDiff line numberDiff line change
@@ -1220,6 +1220,7 @@ def named_type(fullname: str) -> Instance:
12201220
class _get_type_type_item_Exception(Exception):
12211221
"""Would prefer this to be defined within the function, but mypyc doesn't support that."""
12221222

1223+
12231224
def get_type_type_item(t: ProperType) -> Type | None:
12241225
def inner(t: Type) -> Type:
12251226
proper_t = get_proper_type(t)

0 commit comments

Comments
 (0)