Python【8】 isinstance(object, classinfo)

isinstance() 函数来判断一个对象是否是一个已知的类型,类似 type()。

posted @ 2023-07-23 16:59  zz子木zz  阅读(24)  评论(0)    收藏  举报