Skip to content

Commit d7ffbb4

Browse files
authored
nit: fix incorrect variable name in map_actuals_to_formals docstring (#20220)
The variables names were updated, but not the docstring in 18b3cbd
1 parent 37b0182 commit d7ffbb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypy/argmap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ def map_actuals_to_formals(
3636
The result contains a list of caller argument indexes mapping to each
3737
callee argument index, indexed by callee index.
3838
39-
The caller_arg_type argument should evaluate to the type of the actual
40-
argument type with the given index.
39+
The actual_arg_type argument should evaluate to the type of the actual
40+
argument with the given index.
4141
"""
4242
nformals = len(formal_kinds)
4343
formal_to_actual: list[list[int]] = [[] for i in range(nformals)]

0 commit comments

Comments
 (0)