1.repr与str区别:

2.isinstance() 函数


3.call实例:


4.bool与len:



5.del析构方法:

6.继承,生成字符串 :

7.组合类的使用,也叫聚合:

8.类的伪私有属性,使用双下划线来表示.比如__className这个就是类的伪私有属性。

9.一个比较全面的继承和使用代码包含模块和类:

1.repr与str区别:
2.isinstance() 函数
3.call实例:
4.bool与len:
5.del析构方法:
6.继承,生成字符串 :
7.组合类的使用,也叫聚合:
8.类的伪私有属性,使用双下划线来表示.比如__className这个就是类的伪私有属性。
9.一个比较全面的继承和使用代码包含模块和类:
本文标题:2020-05-10
本文链接:https://www.haomeiwen.com/subject/wcfjnhtx.html
网友评论