#NEWLINE# def __getitem__( self , idx ) : #NEWLINE# #INDENT# if ( not idx . movie ) : #NEWLINE# #INDENT# raise TypeError ( 'Cannot index non-movie data' ) #NEWLINE# #UNINDENT# return self . copy ( self . data [ idx ] )