<s> import sys <EOL> if sys . platform . startswith ( "<STR_LIT>" ) : <EOL> def quote ( value ) : <EOL> return u'<STR_LIT>' . format ( u'<STR_LIT:{}>' . format ( value ) . replace ( u'<STR_LIT:">' , u'<STR_LIT>' ) ) <EOL> else : <EOL> def quote ( value ) : <EOL> return u"<STR_LIT>" . format ( u'<STR_LIT:{}>' . format ( value ) . replace ( u"<STR_LIT:'>" , u"<STR_LIT>" ) ) </s>
