Skip to content

Commit e351d4d

Browse files
committed
[mypyc] Mapper.fdef_to_sig: update comment
1 parent e343351 commit e351d4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mypyc/irbuild/mapper.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ def fdef_to_sig(self, fdef: FuncDef) -> FuncSignature:
142142
# the sole way that FuncDecl arguments are tracked. This is
143143
# generally fine except in some cases (like for computing
144144
# init_sig) we need to produce FuncSignatures from a
145-
# deserialized FuncDef that lacks arguments. We won't ever
146-
# need to use those inside of a FuncIR, so we just make up
147-
# some crap.
145+
# deserialized FuncDef where arguments is the empty list. We
146+
# won't ever need to use those inside of a FuncIR, so we just
147+
# make up some crap.
148148
if fdef.arguments:
149149
arg_names = [arg.variable.name for arg in fdef.arguments]
150150
else:

0 commit comments

Comments
 (0)