[docs] tutorial: "The Module Search Path" section is ambiguous
Cristian Ciupitu
cristian.ciupitu at yahoo.com
Sun Sep 5 17:21:53 CEST 2010
"The Module Search Path"[1] section of the tutorial starts with the
following text:
When a module named spam is imported, the interpreter searches for a
file named spam.py in the current directory, and then in the list of
directories specified by the environment variable PYTHONPATH.
It mentions the "current directory" in the first paragraph, although
it's not necessarily about the current working directory just as the
second paragraph clarifies things. I think that the text should be
rephrased to make it less ambiguous. Maybe mention right from the
beginning what's really going on?
Kind regards,
Cristian
[1] http://docs.python.org/tutorial/modules.html#the-module-search-path
More information about the docs
mailing list