首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
python 静态字段
python 静态字段
mac
2022-06-30
23
在class里面只保存一次就可以给所有的方法用的字段叫静态字段
class c: #这个就是静态字段 name='cc' def dd(self):
转载于:https://www.cnblogs.com/ezway/p/6637975.html
相关资源:JAVA上百实例源码以及开源项目
转载请注明原文地址: https://mac.8miu.com/read-61066.html
最新回复
(
0
)