tureen.py 文件源码

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

项目:pudzu 作者: Udzu 项目源码 文件源码
def exclude_tags(tags, excluded, relation=operator.is_):
    """Filter out tags that are related to at least one of the excluded set."""
    return [t for t in make_bs4_iterable(tags) if not any(relation(t, s) for s in make_bs4_iterable(excluded))]
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号