We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db898fd commit fbb6fd9Copy full SHA for fbb6fd9
docs/api/gen_doc.py
@@ -401,7 +401,7 @@ def _is_self_arg(arg: ast.arg) -> bool:
401
if jump == -1 and defaults_start_index + i > posonlyargs_count:
402
jump = 0
403
arg_index = defaults_start_index + i + jump
404
- arg_name = fn_node.args.args[arg_index].arg
+ arg_name = arg_list[arg_index]
405
default_value_str = _gen_default_value_string(default)
406
arg_list[arg_index] = f"{arg_name}={default_value_str}"
407
# vararg
0 commit comments