摘要: 比如有下面如下的代码,每个函数都需要判断debug的是否为True,而默认的debug为False def a(x,debug=False): if debug: print('calling a') def b(x,y,z,debug=False): if debug: print('callin 阅读全文
posted @ 2018-10-21 15:33 red_leaf_412 阅读(232) 评论(0) 推荐(0)