tureen.py 文件源码

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

项目:pudzu 作者: Udzu 项目源码 文件源码
def restrict_tags(tags, included, relation=operator.is_):
    """Restrict to tags that are related to at least one of the included set."""
    return [t for t in make_bs4_iterable(tags) if any(relation(t, s) for s in make_bs4_iterable(included))]

# finding tags by chaining
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号