Pedantic rewording of why relative importing doesn't work in main modules (GH-136846)
Pedantically reword the section about relative imports and main modules.
(cherry picked from commit
4b68289ca6954b8d135e2ee2344e67fae38239fd)
Co-authored-by: Josh Cannon <joshdcannon@gmail.com>
from .. import formats
from ..filters import equalizer
-Note that relative imports are based on the name of the current module. Since
-the name of the main module is always ``"__main__"``, modules intended for use
+Note that relative imports are based on the name of the current module's package.
+Since the main module does not have a package, modules intended for use
as the main module of a Python application must always use absolute imports.