def search(cls, ea): return idaapi.get_nlist_idx(ea)
def search(cls, ea): '''Return the index of the address `ea` in the names list.''' return idaapi.get_nlist_idx(ea)