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 9304f98 commit 859250cCopy full SHA for 859250c
Doc/tutorial/modules.rst
@@ -183,7 +183,8 @@ The Module Search Path
183
.. index:: triple: module; search; path
184
185
When a module named :mod:`spam` is imported, the interpreter first searches for
186
-a built-in module with that name. If not found, it then searches for a file
+a built-in module with that name. These module names are listed in
187
+:data:`sys.builtin_module_names`. If not found, it then searches for a file
188
named :file:`spam.py` in a list of directories given by the variable
189
:data:`sys.path`. :data:`sys.path` is initialized from these locations:
190
0 commit comments