1.callable 函數
2.訪問文檔字符串
函數名: 比如:square
那麼訪問就是文檔字符串: square.__doc__
3.內置函數help的用法
4.在函數中的return,有的函數有return,有的沒有。
5.收集參數,將提供的所有值都放在一個元組中
1.callable 函數
2.訪問文檔字符串
函數名: 比如:square
那麼訪問就是文檔字符串: square.__doc__
3.內置函數help的用法
4.在函數中的return,有的函數有return,有的沒有。
5.收集參數,將提供的所有值都放在一個元組中
class MetaCls(type): def __new__(cls, *args, **kwargs): print("in MetaCls") # return super(Meta