Thanks to visit codestin.com Credit goes to github.com
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 65893c6 commit 4b68289Copy full SHA for 4b68289
1 file changed
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