1. type(object) -> the object's type

返回的是object的类型,即对象的类定义

例如:用元类动态生成子类
metaclass = type(father)  # 获取father的元类
subclass = metaclass(name, (father,), attrs) type(name, bases, dict) -> a new type 返回一个类的定义

最新文章

  1. vue-新建项目出错情况分析
  2. linux qq下载
  3. php标记,变量,常量
  4. [BS-22] Objective-C中nil、Nil、NULL、NSNull的区别
  5. Hadoop概念学习系列之如何去找到历史版本的Hadoop发行包(三十四)
  6. mysql优化21条
  7. Gvim一些基本配置
  8. UVa455 Periodic Strings
  9. Java使用Socket传输文件遇到的问题
  10. box-sizing 属性应用
  11. 结合find和cp批量查找文件并复制到指定文件夹中
  12. 算法与数据结构(二) 栈与队列的线性和链式表示(Swift版)
  13. [Swift]LeetCode148. 排序链表 | Sort List
  14. 小tips:node起一个简单服务,打开本地项目或文件浏览
  15. The concurrent snapshot for publication 'xxx' is not available because it has not been fully generated or the Log Reader Agent is not running to activate it
  16. SetWindowPos 和Z序
  17. conductor 系统任务
  18. 实现可搜索仿select下拉选中
  19. CF 1114 E. Arithmetic Progression
  20. Visual Leak Detector原理剖析

热门文章

  1. webpack extract-text-webpack-plugin
  2. lapis 集成openresty最新版本cjson 问题的解决
  3. Docker-Compose API too old for Windows
  4. vim中的加密文件
  5. Oracle instant client及pl sql developer的使用
  6. python 有关引用的一些问题
  7. 学习 Git 玩转 GitHub
  8. 1.Python3关于文件的操作
  9. CentOS部署NetCore - 1. 安装CentOS 7 & 安装 Nginx
  10. C++ 命名空间解释