From: Georg Brandl Date: Wed, 17 Jun 2009 09:36:21 +0000 (+0000) Subject: #6295: clarify blocking behavior of getch(). X-Git-Tag: v2.7a1~935 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2fcf389e10c66564edec01188c08c43d11549287;p=python #6295: clarify blocking behavior of getch(). --- diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst index c3f1c51040..01689a23a8 100644 --- a/Doc/library/curses.rst +++ b/Doc/library/curses.rst @@ -796,7 +796,8 @@ the following methods: Get a character. Note that the integer returned does *not* have to be in ASCII range: function keys, keypad keys and so on return numbers higher than 256. In - no-delay mode, -1 is returned if there is no input. + no-delay mode, -1 is returned if there is no input, else :func:`getch` waits + until a key is pressed. .. method:: window.getkey([y, x])