From 3725dea9c39b3e56532fe4be26545c84a4402f46 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Sat, 3 Jun 2006 23:09:58 +0000 Subject: [PATCH] Docstring fix; use True --- Demo/curses/repeat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Demo/curses/repeat.py b/Demo/curses/repeat.py index 158264cf6b..fa7daac175 100755 --- a/Demo/curses/repeat.py +++ b/Demo/curses/repeat.py @@ -2,7 +2,7 @@ """repeat -This simple program repeatedly (with 1-second intervals) executes the +This simple program repeatedly (at 1-second intervals) executes the shell command given on the command line and displays the output (or as much of it as fits on the screen). It uses curses to paint each new output on top of the old output, so that if nothing changes, the @@ -38,7 +38,7 @@ def main(): sys.exit(sts) w = curses.initscr() try: - while 1: + while True: w.erase() try: w.addstr(text) -- 2.40.0