Use True; value returned from main is unused

This commit is contained in:
Andrew M. Kuchling 2006-06-03 23:02:15 +00:00
parent 510b46fb42
commit 98900bc7bb
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ def main(win):
ypos[j] = randrange(0, r) + 2
j = 0
while 1:
while True:
x = randrange(0, c) + 2
y = randrange(0, r) + 2
@ -83,7 +83,7 @@ def main(win):
ch = stdscr.getch()
if ch == ord('q') or ch == ord('Q'):
return 0
return
elif ch == ord('s'):
stdscr.nodelay(0)
elif ch == ord(' '):