函数:
1 def show(l=[],s='a',d={}): 2 '''test''' 3 return 4 5 print(show.__name__) 6 print(show.__defaults__) 7 print(show.__doc__)
函数的结果:
1 show 2 ([], 'a', {}) 3 test