__all__ = ["a"]被调用时只会调用list里面的

 __all__ = ["a"]被调用时只会调用list里面的

适用在模块和包(文件夹)中

posted @ 2017-12-21 14:14  leeQQQ  阅读(75)  评论(0编辑  收藏  举报