callable函式

python中一個定義函式,意為返回對象是否可調用(即某種功能)。

基本介紹

  • 外文名:callable函式
  • 所屬學科計算機
返回對象是否可調用(即某種功能)。
請注意,類是可調用的,與__call __()方法的實例一樣。
英文注釋為:Return whether the object is callable (i.e., some kind of function).Note that classes are callable, as are instances with a __call__() method

相關詞條

熱門詞條

聯絡我們