>>> isinstance(object,type)
True
>>> isinstance(list,type)
True
>>> isinstance(list,object)
True
>>> isinstance(dict,object)
True
>>> issubclass(object,type)
False
>>> issubclass(dict,object)
True
>>> issubclass(list,object)
True
>>>
相关文章
- 03-29python之type
- 03-29python获取某一年的所有节假日
- 03-29python开发基础(四)面向对象--实例化
- 03-29python中特殊参数self的作用
- 03-29mlflow启动之gunicorn启动失败
- 03-29python-Ngnix Gunicorn Flask:如何找出真正的基本URL
- 03-29Python GUI之tkinter
- 03-29冰蝎改造之适配基于tomcat Filter的无文件webshell
- 03-29python – gunicorn django上的CRITICAL WORKER TIMEOUT错误
- 03-29解决命令行运行python文件,出现No module named *** 报错问题