def p_unary_operator(self, p):
        # reduces to (op, op_str)
        p[0] = ({
            '+': operator.pos,
            '-': operator.neg,
            '~': operator.inv,
            '!': operator.not_}[p[1]], p[1])
Test PackageFinder prefers file links over equivalent page links
dataset/ETHPy150Open ardekantur/pyglet/tools/wraptypes/preprocessor.py/ConstantExpressionGrammar.p_unary_operator--crossover with--dataset/ETHPy150Open pypa/pip/tests/unit/test_finder.py/test_finder_priority_file_over_page