[docs] Documentation bug?

bob gailer bgailer at gmail.com
Sun Mar 24 18:23:47 CET 2013

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 

The print statement changed to a function in 3. Try:

print(w,  len(w))

Bob Gailer
Chapel Hill NC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20130324/55b5f7af/attachment.html>

More information about the docs mailing list