[docs] Small Error on Tutorial 3.1.1 Page

Georg Brandl georg at python.org
Sun Apr 14 10:46:39 CEST 2013


-----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-----


More information about the docs mailing list