sphinx-codeautolink icon indicating copy to clipboard operation
sphinx-codeautolink copied to clipboard

Consider linking assignment targets, arguments and single names

Open felix-hilden opened this issue 3 years ago • 0 comments

We don't link assignment targets, arguments and (I think) single names:

import lib
target = lib.Thing()
target

def foo(arg: lib.Thing): pass

We could reconsider this, at least for single names divorced from assignments and type hints. It would prevent having to look for the original line where the type is.

felix-hilden avatar Jun 11 '22 16:06 felix-hilden