parameters: (self, other)
return_statement: return self + And._ErrorStop() + other
docstring: Implementation of - operator, returns C{L{And}} with error stop
docstring_summary: Implementation of - operator, returns C{L{And}} with error stop
docstring_tokens: Implementation of - operator returns C { L { And }} with error stop
function: def __sub__(self, other):
          """
          Implementation of - operator, returns C{L{And}} with error stop
          """
          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 self + And._ErrorStop() + other
function_tokens: 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 self + And . _ErrorStop ( ) + other