def make_armour_table(env, node):
    table = nodes.table()
    tgroup = nodes.tgroup(cols=3)
    table += tgroup
    for i in range(4):
        colspec = nodes.colspec(colwidth = 1)
        tgroup += colspec

    rows = []

    thead = nodes.thead()

    row_node = make_row('armour', 'damage reduction', 'speed modifier')
    thead += row_node

    tgroup += thead

    for item_entry in (x for x in env.pyherc_context.items
                       if node.options['type'] in x['item'].tags):

        item = item_entry['item']

        row_node = make_row(item.name,
                            item.armour_data.damage_reduction,
                            item.armour_data.speed_modifier)

        rows.append(row_node)

    tbody = nodes.tbody()
    tbody.extend(rows)
    tgroup += tbody

    return table
Compare only the binding, without the id key.
dataset/ETHPy150Open tuturto/pyherc/src/herculeum/sphinx/items.py/make_armour_table--crossover with--dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/ml2/drivers/cisco/nexus/nexus_models_v2.py/NexusPortBinding.__eq__