How to place hyperlinks in a python file?

How can I create hyperlinks in a python file?

Normally whenever you create a function one is created automatically.

Image 1

However I have a file that doesn't contain any function, only information:

Image 2

How could I create hyperlinks so I don't have to scroll down and I can simply click to go there?

I thought about doing this:
def info1(): return
but is a bit ugly...

Thx in advance!

You cannot.

:frowning:

In some version of 8.3 I'm hoping to revamp this tree from its current (quite fragile) regex parsing methodology to a proper AST parse, which would make it trivial to add support for declared constants. Probably only at the top level.

10 Likes