Python为类定义“拷贝构造函数”

来源:互联网 发布:虚拟机下安装ubuntu 编辑:程序博客网 时间:2024/06/04 23:19

初学Python,这么做好像有点2,凑合能用:

 

实际输出为:

>>> 100 100 10 123

原创粉丝点击