commit | a7b55a33f877d1c210a5372a73ad85983ab8621c | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Fri Feb 20 03:31:23 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Fri Feb 20 03:31:23 2009 +0000 |
tree | ccff5a2b2506f9b290e8c9f83be33bb3dfc16655 | |
parent | 5149742e8b3c8221d4cb53dcfc9a12ae3fec9238 [diff] [blame] |
revert r69777 since all the experts agree that extra import lines distract from the code
diff --git a/Doc/library/termios.rst b/Doc/library/termios.rst index 38da7b4..4847949 100644 --- a/Doc/library/termios.rst +++ b/Doc/library/termios.rst
@@ -91,8 +91,7 @@ exactly no matter what happens:: def getpass(prompt = "Password: "): - import sys - import termios + import termios, sys fd = sys.stdin.fileno() old = termios.tcgetattr(fd) new = termios.tcgetattr(fd)