Python has two built-in decorators. @staticmethod. The staticmethod decorator modifies a method function so that it does not use the self variable.
確定! 回上一頁