Changes in import statement python3

I don’t understand the following from pep-0404

In Python 3, implicit relative imports within packages are no longer
available – only absolute imports and explicit relative imports are
supported. In addition, star imports (e.g. from x import *) are only
permitted in module level code.

What is a relative import?
In what other places star import was allowed in python2?
Please explain with examples.

4 Answers
4

Leave a Comment