[docs] Demo code error in "Curses Programming with Python"

李柏憲 mjsg.public at gmail.com
Mon Sep 2 13:52:14 CEST 2013

I found demo code of cruses wrapper() ( the code just before "Windows and
Pads") in docs  "Curses Programming with Python" have some code error.

"    for i in range(0, 10):" should be "    for i in range(11):", or that
would not raises ZeroDivisionError.

Bo-Sian Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20130902/a9525d08/attachment.html>

More information about the docs mailing list