开发者社区 问答 正文

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

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

展开
收起
游客k7rjnht6hbtk6 2021-11-06 10:43:48 456 分享 版权
1 条回答
写回答
取消 提交回答
  • bases 表示一个元组,其中存储的是该类的父类

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