源代码
class myObj: name = "Bill" y = myObj() x = isinstance(y, myObj) print(x)
运行结果