Name
ungetch
Synopsis
ungetch(c
)
Ungets character c
: the next call to
getch
or getche
returns
c
. It’s an error to call
ungetch
twice without intervening calls to
getch
or getche
.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.