summaryrefslogtreecommitdiffstats
path: root/Doc/reference/import.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/reference/import.rst')
-rw-r--r--Doc/reference/import.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst
index 2144c1f..a162851 100644
--- a/Doc/reference/import.rst
+++ b/Doc/reference/import.rst
@@ -554,7 +554,8 @@ the module.
details.
This attribute is used instead of ``__name__`` to calculate explicit
- relative imports for main modules, as defined in :pep:`366`.
+ relative imports for main modules -- as defined in :pep:`366` --
+ when ``__spec__`` is not defined.
.. attribute:: __spec__