@zhihu.log_attr
@zhihu.iter_factory('voters')
def voters(x)->People:
'''获取答案的点赞列表'''
from .People import People
return People(x)
这样报错:NameError: name 'People' is not defined
from .People import People
@zhihu.log_attr
@zhihu.iter_factory('voters')
def voters(x)->People:
'''获取{name}的点赞列表'''
from .People import People
return People(x)
这样报错:ImportError: cannot import name 'People' from 'ZhihuVAPI.content.People'
我只是想要 IDE 能只能提示而已啊,怎么这么难
