[Python-Dev] Add __exports__ to modules

Skip Montanaro skip@mojam.com (Skip Montanaro)
2001年1月10日 16:52:55 -0600 (CST)


 Paul> Also, dir() could look for an __all__ on all objects including
 Paul> "module proxies", classes and "plain old instances". In other
 Paul> words we can extend the convention to other objects "for free".
The __exports__/dir() patch I submitted will do this if you remove the
PyModule_Check that guards it.
Skip

AltStyle によって変換されたページ (->オリジナル) /