We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 171c8f8 commit 3c67bcdCopy full SHA for 3c67bcd
Doc/tutorial/modules.rst
@@ -579,8 +579,8 @@ module for example, you might use::
579
from .. import formats
580
from ..filters import equalizer
581
582
-Note that relative imports are based on the name of the current module. Since
583
-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
584
as the main module of a Python application must always use absolute imports.
585
586
0 commit comments