isinstance check if element is a class

后端 未结 0 730
伪装坚强ぢ
伪装坚强ぢ 2021-01-04 02:45

Is there any way to check if a variable is of type class? I have something like this:

class MyClass(object):
    def Save(self, key: str, value):
        if n         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题