def with_backslash(): """Sum\\mary.""" def ends_in_quote(): 'Sum\\mary."' def contains_quote(): 'Sum"\\mary.'