Movatterモバイル変換
[0]ホーム
[Python-Dev] Add __exports__ to modules
Andrew Kuchlingakuchlin@mems-exchange.org
Mon, 8 Jan 2001 11:49:13 -0500
On Mon, Jan 08, 2001 at 08:46:47AM -0800, Paul Prescod wrote:>How are class browsers and "intellisense prompters" supposed to know>that it "makes sense" to prompt the user with os.path but not>CGIHTTPServer.os.path.Could we then simply adopt __exports__ as a convention for suchbrowsers, but with no changes to core Python to support it? Browserswould then follow the algorithm "Use __exports__ if present, dir() ifnot." --amk
[8]ページ先頭