已知域名如何知道网站的ip

已知域名如何知道网站的ip

A小面:

[code=python]

cls._instance = super(Singleton, cls).__new__(cls, *args, **kwargs)

TypeError: object.__new__() takes exactly one argument (the type to instantiate)

[/code]

直接运行会出现上面的错误,请问这个应该怎么办?刚学习有点解决不了。因为我想在singleton1 = Singleton(10)后面也print(singleton1.value)

相关推荐

率土之滨
365足球体育亚洲版

率土之滨

📅 07-22 👁️ 9372