]> granicus.if.org Git - python/commitdiff
Correction from Jordan Lewis: halfdelay() uses tenths of a second, not milliseconds
authorAndrew M. Kuchling <amk@amk.ca>
Thu, 17 Jan 2008 19:49:24 +0000 (19:49 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Thu, 17 Jan 2008 19:49:24 +0000 (19:49 +0000)
Doc/howto/curses.rst

index e16d07af3a5dbab824b61267e0ed0f6567e55c4a..ff14335067fae3c3b6abe6734aa550fa9e74fb84 100644 (file)
@@ -367,8 +367,8 @@ It's possible to change this behavior with the method :meth:`nodelay`. After
 ``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