def __getitem__(self, name):
try:<EOL><INDENT>field = self.fields[name]<EOL><DEDENT>except KeyError:<EOL><INDENT>raise KeyError('<STR_LIT>' % name)<EOL><DEDENT>return NgBoundField(self, field, name)<EOL>
Returns a NgBoundField with the given name.