[Python-checkins] r46623 - python/trunk/Demo/curses/xmas.py

andrew.kuchling python-checkins at python.org
Sun Jun 4 00:59:23 CEST 2006


Author: andrew.kuchling
Date: Sun Jun  4 00:59:23 2006
New Revision: 46623

Modified:
   python/trunk/Demo/curses/xmas.py
Log:
Drop 0 parameter

Modified: python/trunk/Demo/curses/xmas.py
==============================================================================
--- python/trunk/Demo/curses/xmas.py	(original)
+++ python/trunk/Demo/curses/xmas.py	Sun Jun  4 00:59:23 2006
@@ -4,7 +4,7 @@
 # $Id$
 #
 # I'm dreaming of an ascii character-based monochrome Christmas,
-# Just like the one's I used to know!
+# Just like the ones I used to know!
 # Via a full duplex communications channel,
 # At 9600 bits per second,
 # Even though it's kinda slow.
@@ -272,7 +272,7 @@
 def blinkit():
     treescrn8.touchwin()
 
-    for cycle in range(0, 5):
+    for cycle in range(5):
         if cycle == 0:
             treescrn3.overlay(treescrn8)
             treescrn8.refresh()
@@ -380,7 +380,7 @@
         middeer0.refresh()
         w_del_msg.refresh()
 
-        for looper in range(0, 2):
+        for looper in range(2):
             deer_step(middeer3, y_pos, x_pos)
             deer_step(middeer2, y_pos, x_pos)
             deer_step(middeer1, y_pos, x_pos)


More information about the Python-checkins mailing list