python2、3中函数方法的差异首先在列举出所有种类的函数和方法情况def test(): passclass Test: def test_one(self): print("===test_one===") @staticmethod def test_two(self): print("===test_two===
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号