#NEWLINE# def __getitem__( self , column_name ) : #NEWLINE# #INDENT# "Get the value for a given cell, or raise KeyError if the column doesn't exist" #NEWLINE# datum = self . get ( column_name ) #NEWLINE# if ( self is None ) : #NEWLINE# #INDENT# raise KeyError ( ( "%s isn't a column in this table" % column_name ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return datum