On Fri, Jul 13, 2018 at 7:59 AM Pawel Gieniec <pawel.gieniec@motorolasolutions.com> wrote:
For input 

>>> "\"Yes,\" they said."
the output will be:
""Yes," they said."
not:
'"Yes," they said.'
 regarding to quotation

KR,
Paw

In what implementation / version of Python do you see this?  Please verify with an actual interpreter; the implementation and version would be very helpful in our understanding.

The reference implementation from python.org behaves as described.


  -Fred

--
Fred L. Drake, Jr.    <fred at fdrake.net>
"A storm broke loose in my mind."  --Albert Einstein