docscrape.py 文件源码

python
阅读 31 收藏 0 点赞 0 评论 0

项目:noisyopt 作者: andim 项目源码 文件源码
def properties(self):
        if self._cls is None:
            return []
        return [name for name, func in inspect.getmembers(self._cls)
                if (not name.startswith('_') and
                    (func is None or isinstance(func, property) or
                     inspect.isgetsetdescriptor(func))
                    and self._is_show_member(name))]
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号