mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
[Patch #633635 from David M. Cooke]
Make docs accurate; getch() in nodelay mode returns -1
This commit is contained in:
@@ -701,7 +701,7 @@ corner.
|
||||
\begin{methoddesc}[window]{getch}{\optional{x, y}}
|
||||
Get a character. Note that the integer returned does \emph{not} have to
|
||||
be in \ASCII{} range: function keys, keypad keys and so on return numbers
|
||||
higher than 256. In no-delay mode, an exception is raised if there is
|
||||
higher than 256. In no-delay mode, -1 is returned if there is
|
||||
no input.
|
||||
\end{methoddesc}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user