📜  __all__ python 代码示例

📅  最后修改于: 2022-03-11 14:46:59.792000             🧑  作者: Mango

代码示例1
__all__ = ['bar', 'baz']

waz = 5
bar = 10
def baz(): return 'baz' ##this will not be exported if you use import *