• Kirill Smelkov's avatar
    strconv: New package + expose .quote() there · f09701b0
    Kirill Smelkov authored
    Move quote implementation from gcompat to strconv. Make quote work on both
    unicode|bytes string input and produce the same output type. Preserve qq
    (still remaining in gcompat) to always produce str, since that is used
    in prints.
    f09701b0
strconv.py 3.86 KB