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-1.2/django/forms/forms.py/BaseForm.__getitem__