You are working on the pylint-dev/astroid repository. The source code is checked out at /testbed at commit…
You are working on the pylint-dev/astroid repository. The source code is checked out at /testbed at commit…: a task in SWE-Lego-RL-2699 (Harbor dataset). There is no way to access the type annotation comments for the individual a and b arguments, only the function itself. typed ast exposes these…
The task
There is no way to access the type annotation comments for the individual `a` and `b` arguments, only the function itself. `typed_ast` exposes these type comments through the attribute `type_comment` on each `arg` node:
Part of Lego-X/Lego-RL-2699.