Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
another docs problem - imp
- From: cito at online.de (Christoph Zwerschke)
- Subject: another docs problem - imp
- Date: Mon, 23 Jan 2006 03:02:43 +0100
I assume one cause of the misunderstanding was the name "path" for the search path. If it had been named "paths" it would have been more obvious. But Python is only following a common standard here. Since environment variables are called PATH, CLASSPATH etc. it was only logical to use PYTHONPATH and sys.path etc. Therefore the imp module uses "pathname" where it is only a single path. Probably the people who once invented the env variables didn't care about writing PATHS because it sounds like PATH anyway (or is there a difference? I am German). Anyway, the docs are technically correct. Maybe the best solution would not to improve the docs but to allow path to be a string in which case it would be treated as [string]. -- Christoph
- References:
- another docs problem - imp
- From: rurpy at yahoo.com
- another docs problem - imp
- Prev by Date: Arithmetic sequences in Python
- Next by Date: Some thougts on cartesian products
- Previous by thread: another docs problem - imp
- Next by thread: Maximum List size (item number) limit?
- Index(es):