On Wednesday, 13 January 2021 at 14:48:07 UTC, Atila Neves wrote:

Why do they have to scroll to the top?

They don't, you're right. But if you want to use it throughout the module you need a top-level import, by convention at the top.

Also the convention seems to be to put a local import at the start of a scope rather than sandwiched in the middle of statements.

Even if they did, what editor are they using that they can't jump back to where they were?

Geany. You can set a marker but probably the editor should automatically add to location history before the go to start of file key binding is executed.

Reply via email to