def __sub__(self, other):
        if isinstance( other, basestring ):
            other = ParserElement.literalStringClass( other )
        if not isinstance( other, ParserElement ):
            warnings.warn("Cannot combine element of type %s with ParserElement" % type(other),
                    SyntaxWarning, stacklevel=2)
            return None
        return And( [ self, And._ErrorStop(), other ] )
Localized DateTimeFields with manually specified input formats can accept those formats
dataset/ETHPy150Open pypa/pip/pip/_vendor/pyparsing.py/ParserElement.__sub__--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/forms/tests/input_formats.py/SimpleDateTimeFormatTests.test_localized_dateTimeField_with_inputformat