fix multi-line string with single quotes problem PY-12223