会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
impluse
博客园
首页
新随笔
联系
管理
2017年9月13日
Python的类变量和成员变量、类静态方法和类成员方法
摘要: 先说明几个相关的术语:attribute、function、method。 attribute:类对象的数据成员。我们经常会在Python代码出错时遇到:“AttributeError: 'My_Class' object has no attribute 'memberxxx'” function
阅读全文
posted @ 2017-09-13 21:34 impluse
阅读(552)
评论(0)
推荐(0)
公告