3 ms·
> IIRC, Python 3 simplified things a good deal by removing "implicit" relative imports, but I'm a little foggy on exactly what that means. Exactly that: in Pyt
by masklinn 5y ago
> IIRC, Python 3 simplified things a good deal by removing "implicit" relative imports, but I'm a little foggy on exactly what that means.
Exactly that: in Python 3, if an import doesn’t start with a . it will always be absolute aka looked up from sys.path.
In python 2, it would try performing a relative import (so importing a sibling module) first.