会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
摩羯男
博客园
首页
新随笔
联系
订阅
管理
2020年12月8日
反射相关
摘要: """ 反射 """ class A(): def func(self): """ 实例函数 """ return "func" @classmethod def func2(cls): """ 类函数 """ return "func2" """ 在使用 getattr 反射的时候 需要注意是否是
阅读全文
posted @ 2020-12-08 11:08 Yuan_x
阅读(66)
评论(0)
推荐(0)
编辑
公告