def __getitem__(self, name):
        "Returns a BoundField with the given name."
        try:
            field = self.fields[name]
        except __HOLE__:
            raise KeyError('Key %r not found in Form' % name)
        return BoundField(self, field, name)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-0.96/django/newforms/forms.py/BaseForm.__getitem__