开发者社区 问答 正文

python中类的专有方法有14种,分别是什么?

python中类的专有方法有14种,分别是什么?

展开
收起
游客y244y7ln2rlpa 2021-11-15 21:03:27 511 分享 版权
1 条回答
写回答
取消 提交回答
  • python中类的专有方法有14种,分别是init,del,repr,setitem,getitem,len,cmp,call,add,sub,mul,truediv,mod,pow

    2021-11-15 23:43:46
    赞同 展开评论