[docs] Fwd: Documentation bug?

Christopher Wallis chriswallis at littlewindsor.co.uk
Tue Mar 26 00:24:01 CET 2013


---------- Forwarded message ----------
From: Christopher Wallis <chriswallis at littlewindsor.co.uk>
Date: Mon, Mar 25, 2013 at 11:00 AM
Subject: Re: [docs] Documentation bug?
To: bob gailer <bgailer at gmail.com>


Hi Bob,
Thanks for taking the trouble to reply. I can't try your solution right
now, 'cos my Python machine has just been knocked out by a lightning
strike; but I bet you're right.
Cheers
Chris


On Sun, Mar 24, 2013 at 5:23 PM, bob gailer <bgailer at gmail.com> wrote:

>  On 3/10/2013 3:37 PM, Christopher Wallis wrote:
>
>
>   If I enter this code into the interpreter, I get a syntax error at print w, len(w)
>
>   You are probably running a Python 3 version and looking at Python 2
> documentation.
>
> The print statement changed to a function in 3. Try:
>
> print(w, len(w))
>
>
> --
> Bob Gailer919-636-4239
> Chapel Hill NC
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20130325/08a9f897/attachment-0001.html>


More information about the docs mailing list