#NEWLINE# def constraint( self , word ) : #NEWLINE# #INDENT# ' Returns the constraint that matches the given Word, or None.\n        ' #NEWLINE# if ( word . index in self . _map1 ) : #NEWLINE# #INDENT# return self . _map1 [ word . index ]