daya0576 / comments.daya0576.github.io

0 stars 0 forks source link

blog/20201122/python-type-and-object/ #108

Open daya0576 opened 2 years ago

daya0576 commented 2 years ago

浅谈 Python Metaclass(上):type 与 object 原理介绍

https://changchen.me/blog/20201122/python-type-and-object/

daya0576 commented 2 years ago

作者: qianzhi long @qianzhilong
日期: 2020-11-26 01:57:20

hi~

A=type("A") 返回的是<class 'str'="">
type()在接收到3个参数时才会返回新类。
这个地方需要更正一下

daya0576 commented 2 years ago

日期: 2020-11-29 09:04:09

多谢,已修复