@@ -160,13 +160,13 @@ The Module Search Path
160160.. index :: triple: module; search; path
161161
162162When a module named :mod: `spam ` is imported, the interpreter searches for a
163- file named :file: `spam.py ` in the directory containing the input script (or
164- the current directory), and then in the list of directories specified by the
165- environment variable :envvar: `PYTHONPATH `. This has the same syntax as the
166- shell variable :envvar: `PATH `, that is, a list of directory names. When
167- :envvar: ` PYTHONPATH ` is not set, or when the file is not found there, the
168- search continues in an installation-dependent default path; on Unix, this is
169- usually :file: `.:/usr/local/lib/python `.
163+ file named :file: `spam.py ` in the directory containing the input script and
164+ then in the list of directories specified by the environment variable
165+ :envvar: `PYTHONPATH `. This has the same syntax as the shell variable
166+ :envvar: `PATH `, that is, a list of directory names. When :envvar: ` PYTHONPATH `
167+ is not set, or when the file is not found there, the search continues in an
168+ installation-dependent default path; on Unix, this is usually
169+ :file: `.:/usr/local/lib/python `.
170170
171171Actually, modules are searched in the list of directories given by the variable
172172``sys.path `` which is initialized from the directory containing the input script
0 commit comments