diff options
author | Jeff Quast <jquast@io.com> | 2015-04-14 00:49:35 -0700 |
---|---|---|
committer | Jeff Quast <jquast@io.com> | 2015-04-14 00:49:35 -0700 |
commit | 952b6eef9185ec7b0586359c6f9f11521874fd8a (patch) | |
tree | b40b5c3e23d55e24b17963ac2fd91fcd655653b7 | |
parent | 537fa2bfa17043db870b1cea4aea211ef74a9e0a (diff) | |
download | blessings-952b6eef9185ec7b0586359c6f9f11521874fd8a.tar.gz |
pep8 fix
-rw-r--r-- | blessings/terminal.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/blessings/terminal.py b/blessings/terminal.py index c45006c..b2a4c2a 100644 --- a/blessings/terminal.py +++ b/blessings/terminal.py @@ -780,8 +780,8 @@ class Terminal(object): Also referred to as 'rare' mode, entering this context is the opposite of 'cooked' mode: On entering, :func:`tty.setcbreak` mode is activated, disabling line buffering of keyboard input and turning off automatic - echoing of input. This allows each keystroke to be received immediately - after it is pressed. + echoing of input. This allows each keystroke to be received + immediately after it is pressed. :param bool raw: When True, enter :func:`tty.setraw` mode instead. Raw mode differs in that the interrupt, quit, suspend, and flow @@ -867,8 +867,9 @@ class Terminal(object): ``timeout`` is specified and keystroke is not received. .. note:: When used without the context manager - :meth:`keystroke_input`, :obj:`sys.__stdin__` remains line-buffered, - and this function will block until the return key is pressed. + :meth:`keystroke_input`, :obj:`sys.__stdin__` remains + line-buffered, and this function will block until the return key + is pressed. """ if timeout is None and self._keyboard_fd is None: raise NoKeyboard( |