[Python-checkins] r60025 - python/trunk/Doc/howto/curses.rst

andrew.kuchling python-checkins at python.org
Thu Jan 17 20:49:24 CET 2008


Author: andrew.kuchling
Date: Thu Jan 17 20:49:24 2008
New Revision: 60025

Modified:
   python/trunk/Doc/howto/curses.rst
Log:
Correction from Jordan Lewis: halfdelay() uses tenths of a second, not milliseconds

Modified: python/trunk/Doc/howto/curses.rst
==============================================================================
--- python/trunk/Doc/howto/curses.rst	(original)
+++ python/trunk/Doc/howto/curses.rst	Thu Jan 17 20:49:24 2008
@@ -367,8 +367,8 @@
 ``nodelay(1)``, :meth:`getch` for the window becomes non-blocking and returns
 ``curses.ERR`` (a value of -1) when no input is ready.  There's also a
 :func:`halfdelay` function, which can be used to (in effect) set a timer on each
-:meth:`getch`; if no input becomes available within the number of milliseconds
-specified as the argument to :func:`halfdelay`, curses raises an exception.
+:meth:`getch`; if no input becomes available within a specified
+delay (measured in tenths of a second), curses raises an exception.
 
 The :meth:`getch` method returns an integer; if it's between 0 and 255, it
 represents the ASCII code of the key pressed.  Values greater than 255 are


More information about the Python-checkins mailing list