New submission from anatoly techtonik <techto...@gmail.com>:

http://docs.python.org/tutorial/modules.html#the-module-search-path

Module search path order description is misleading. When a module named spam is 
imported, the interpreter searches for a file named spam.py in the directory of 
the script with import instruction, not in the current directory.

----------
assignee: docs@python
components: Documentation
messages: 138584
nosy: docs@python, techtonik
priority: normal
severity: normal
status: open
title: tutorial: Module search path description is incorrect
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12359>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to