[docs] Small Error on Tutorial 3.1.1 Page

Daniel Viar dan.viar at gmail.com
Sun Apr 14 12:12:56 CEST 2013


Thanks.  I see.  I was using IDLE.  In IDLE, you see:

>>> 2 + 2
4
>>>



On Sun, Apr 14, 2013 at 4:46 AM, Georg Brandl <georg at python.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am 05.04.2013 14:56, schrieb Daniel Viar:
> > On the page, http://docs.python.org/3/tutorial/introduction.html under
> > 3.1.1 Numbers the following looks to be incorrect:
> >
> >>>> # This is a comment
> > ... 2+2 4
> >
> > I think that it should be
> >
> >>>> # This is a comment 2+2
> > 4
>
> Hi Daniel,
>
> if you try your example in the interactive shell, you will see that
> Python indeed displays the secondary prompt ("...") for the second
> line.
>
> cheers,
> Georg
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.19 (GNU/Linux)
>
> iEYEARECAAYFAlFqbO4ACgkQN9GcIYhpnLC3GgCfUtxUxEPIJ0OSV2QOCjcBcmhJ
> jxQAni88lWSzWjGQx1Xj6rFRM4P++VJy
> =lXaA
> -----END PGP SIGNATURE-----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20130414/208c4f1e/attachment.html>


More information about the docs mailing list