Skip to content

Commit 4d8b6e9

Browse files
committed
Fix return type for some methods
1 parent 0dc8ffe commit 4d8b6e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/irbuild/prepare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def prepare_func_def(
171171
if fdef.is_static
172172
else (FUNC_CLASSMETHOD if fdef.is_class else FUNC_NORMAL)
173173
)
174-
decl = FuncDecl(fdef.name, class_name, module_name, mapper.fdef_to_sig(fdef, False), kind)
174+
decl = FuncDecl(fdef.name, class_name, module_name, mapper.fdef_to_sig(fdef, True), kind)
175175
mapper.func_to_decl[fdef] = decl
176176
return decl
177177

0 commit comments

Comments
 (0)