def copy_type_comments_to_annotations(args):
for arg in args.args:<EOL><INDENT>copy_type_comment_to_annotation(arg)<EOL><DEDENT>if args.vararg:<EOL><INDENT>copy_type_comment_to_annotation(args.vararg)<EOL><DEDENT>for arg in args.kwonlyargs:<EOL><INDENT>copy_type_comment_to_annotation(arg)<EOL><DEDENT>if args.kwarg:<EOL><INDENT>copy_type_comment_to_annotation(args.kwarg)<EOL><DEDENT>
Copies argument type comments from the legacy long form to annotations
    in the entire function signature.