Skip to content

Commit 9d12459

Browse files
fix mypy err
1 parent 593c5ee commit 9d12459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/irbuild/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def get_mypyc_attrs(
136136
attrs: MypycAttrs = {}
137137
lines: dict[MypycAttr, int] = {}
138138

139-
def set_mypyc_attr(key: MypycAttr, value: Any, line: int) -> None:
139+
def set_mypyc_attr(key: str, value: Any, line: int) -> None:
140140
if key in MYPYC_ATTRS:
141141
attrs[key] = value
142142
lines[key] = line

0 commit comments

Comments
 (0)