@register.tag
def faq_list(parser, token):
    args = token.split_contents()
    if len(args) != 4:
        raise template.TemplateSyntaxError("%s takes exactly three arguments" % args[0])
    if args[2] != 'as':
        raise template.TemplateSyntaxError("second argument to the %s tag must be 'as'" % args[0])

    return FaqListNode(num=args[1], varname=args[3])
Test wheels have priority over sdists.
dataset/ETHPy150Open howiworkdaily/django-faq/faq/templatetags/faqtags.py/faq_list--crossover with--dataset/ETHPy150Open pypa/pip/tests/unit/test_finder.py/TestWheel.test_wheel_over_sdist_priority