def _match_literal ( self , a , b = None ) : return a . lower ( ) == b if not self . case_sensitive else a == b
python check string match without letter case
Match two names .
def _match_literal(self, a, b=None):
        """Match two names."""

        return a.lower() == b if not self.case_sensitive else a == b