[docs] I found a question in the documentation.

Eli Bendersky eliben at gmail.com
Wed Oct 12 16:12:17 CEST 2011


On Wed, Oct 12, 2011 at 08:27, Ray Wang <bluefca at gmail.com> wrote:
> In the chapter of "3.1.2 String", the example:
>
>>>> '"Isn\'t," she said.'
> '"Isn\'t," she said.'
>
> Should the printed result be
> '"Isn't," she said.'
> ?

No, because it shows what the interactive session displays, which is
the "repr" of the string. Had you actually printed it, you would get
the result you expect.

Eli


More information about the docs mailing list