def TTupleOf(*val_types):
  desc = WithDesc("Tuple of %s" % Parens(', '.join(str(v) for v in val_types)))
  return desc(TAnd(TOr(TTuple, TList), TIsLength(len(val_types)),
                   TItems(val_types)))
Testing the 'same_as' and 'equals' lookup types.
dataset/ETHPy150Open ganeti/ganeti/lib/ht.py/TTupleOf--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/gis/tests/geoapp/tests.py/GeoLookupTest.test_equals_lookups