69、'type', 返回对象类型

class type(object)
| type(object_or_name, bases, dict)
| type(object) -> the object's type
| type(name, bases, dict) -> a new type
|
| Methods defined here:
|
| __call__(self, /, *args, **kwargs)
| Call self as a function.
|
| __delattr__(self, name, /)
| Implement delattr(self, name).
|
| __dir__(...)
| __dir__() -> list
| specialized __dir__ implementation for types
|
| __getattribute__(self, name, /)
| Return getattr(self, name).
|
| __init__(self, /, *args, **kwargs)
| Initialize self. See help(type(self)) for accurate signature.
|
| __instancecheck__(...)
| __instancecheck__() -> bool
| check if an object is an instance
|
| __new__(*args, **kwargs)
| Create and return a new object. See help(type) for accurate signature.
|
| __prepare__(...)
| __prepare__() -> dict
| used to create the namespace for the class statement
|
| __repr__(self, /)
| Return repr(self).
|
| __setattr__(self, name, value, /)
| Implement setattr(self, name, value).
|
| __sizeof__(...)
| __sizeof__() -> int
| return memory consumption of the type object
|
| __subclasscheck__(...)
| __subclasscheck__() -> bool
| check if a class is a subclass
|
| __subclasses__(...)
| __subclasses__() -> list of immediate subclasses
|
| mro(...)
| mro() -> list
| return a type's method resolution order
|
| ----------------------------------------------------------------------
| Data descriptors defined here:
|
| __abstractmethods__
|
| __dict__
|
| __text_signature__
|
| ----------------------------------------------------------------------
| Data and other attributes defined here:
|
| __base__ = <class 'object'>
| The most base type
|
| __bases__ = (<class 'object'>,)
|
| __basicsize__ = 864
|
| __dictoffset__ = 264
|
| __flags__ = -2146675712
|
| __itemsize__ = 40
|
| __mro__ = (<class 'type'>, <class 'object'>)
|
| __weakrefoffset__ = 368

  

最新文章

  1. Linux系统实战项目——sudo日志审计
  2. 【002:ESP8266 移植 Mqtt 】
  3. ios基础操作
  4. 配置JDK环境变量,与各步骤的意义
  5. C# 时间函数相减
  6. Android 4.4 KitKat 新特性
  7. Android UI编程(1)——九宫格(GridView)
  8. transition实现自定义tips淡入淡出效果
  9. 什么是https?
  10. Codeforces 402B --耻辱的一题
  11. 编写高性能JavaScript【转】
  12. App集成支付宝
  13. C/C++中new关键字是否加括号的区别
  14. SSIS:捕获修改了的数据
  15. 五分钟学会centos配置gitlab
  16. [转帖]Sqlserver BCP 的用法
  17. beautifulsoup爬取糗事百科
  18. 让DIV随滚动条滚动
  19. 使用3D Slicer对图像进行配准
  20. fjwc2019 D1T3 不同的缩写(dinic+trie+dfs)

热门文章

  1. PHPMailer发送邮件乱码
  2. 面向接口的webservice发布方式
  3. @SuppressWarnings 用法
  4. dsBlog_杂类
  5. HDOJ1004 数组还要自己初始化
  6. 把node加入master节点时,日志内容分析
  7. 创建Material Design风格的Android应用--应用主题
  8. 图解 servlet 与jsp的关系
  9. leetcode 677. Map Sum Pairs
  10. webpack 构建多页面应用