I understand but I personally prefer the other way: have the docstring above the definition.
Even if they can be parsed by tooling, I have to look at it, and don’t like the way docstring below variable looks.
I don’t think I’ve ever seen docstring below variable besides class/function declaration.
If we decide to formalize a format, if prefer it be above or on the same line.
Edit:
I think I’ve seen tools parse
V = 'hello' #: this is the docstring for V
As a way of doing one liner
Similarly also for two lines:
#: this is the docstring for V
V = 'hello'