You can also use numeric abstract base classes instead of concrete classes. To check for an integer value, you can use the numbers.Integral Python class: ...
確定! 回上一頁