开发者社区 问答 正文

Python type()函数中type(name, bases, dict)中dict表示什么?

Python type()函数中type(name, bases, dict)中dict表示什么?

展开
收起
游客k7rjnht6hbtk6 2021-11-06 10:44:19 354 分享 版权
1 条回答
写回答
取消 提交回答
  • dict 表示一个字典,用于表示类内定义的属性或者方法。

    2021-11-06 10:44:39
    赞同 展开评论