变更
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
def test(a, b):
|
||||
print(a + b)
|
||||
|
||||
|
||||
def test1(a, b):
|
||||
print(a - b)
|
||||
|
||||
|
||||
__all__ = ["test1"]# 只作用于*,可以手动单独导入函数
|
||||
|
||||
if __name__ == '__main__':
|
||||
test(1, 2)
|
||||
Reference in New Issue
Block a user