If x is not a Python int object, it has to define an __index__() method that returns ... on the class (such as C.f() ) or on an instance (such as C().f() ).
確定! 回上一頁