The as
keyword is never going to be as consistent as you’re asking, since it’s used in such vastly different ways. Do you expect, for instance, import numpy as np
to create a new scope? I certainly wouldn’t.
1 Like