Skip to content
Snippets Groups Projects
Unverified Commit 859250cc authored by slateny's avatar slateny Committed by GitHub
Browse files

gh-77521: Add link to builtin module names in modules tutorial (#92438)

parent 9304f985
Branches
Tags
No related merge requests found
...@@ -183,7 +183,8 @@ The Module Search Path ...@@ -183,7 +183,8 @@ The Module Search Path
.. index:: triple: module; search; path .. index:: triple: module; search; path
When a module named :mod:`spam` is imported, the interpreter first searches for When a module named :mod:`spam` is imported, the interpreter first searches for
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
:data:`sys.builtin_module_names`. If not found, it then searches for a file
named :file:`spam.py` in a list of directories given by the variable named :file:`spam.py` in a list of directories given by the variable
:data:`sys.path`. :data:`sys.path` is initialized from these locations: :data:`sys.path`. :data:`sys.path` is initialized from these locations:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment