标签: python python-3.x object
两者之间有什么区别吗?
class Salary(): def __init__(self, name, base, tax): self.name = name self.base = base
和
class Salary(object): def __init__(self, name, base, tax): self.name = name self.base = base