Demo code error in "Curses Programming with Python"
Dears: 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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 02.09.2013 13:52, schrieb ???:
Dears: 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
Hi, thanks for the report; this is now fixed and should be live soon. cheers, Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (GNU/Linux) iEYEARECAAYFAlJRGdgACgkQN9GcIYhpnLB+jgCgr+SjcetLksxn15swGjUU2CyJ 17kAn3/B5wAQyB/5TZF1LDMM6e8jOMwe =pTFY -----END PGP SIGNATURE-----
participants (2)
-
Georg Brandl
-
李柏憲