commit | 5149742e8b3c8221d4cb53dcfc9a12ae3fec9238 | [log] [tgz] |
---|---|---|
author | Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> | Thu Feb 19 18:52:21 2009 +0000 |
committer | Jeroen Ruigrok van der Werven <asmodai@in-nomine.org> | Thu Feb 19 18:52:21 2009 +0000 |
tree | d3b7dbc021eeed177f453603f8f59f0ad01b2e0e | |
parent | a630735b31b5ee0a1a59b3b28299e26a7ee74d9f [diff] [blame] |
Since we recommend one module per import line, reflect this also in the documentation.
diff --git a/Doc/library/termios.rst b/Doc/library/termios.rst index 4847949..38da7b4 100644 --- a/Doc/library/termios.rst +++ b/Doc/library/termios.rst
@@ -91,7 +91,8 @@ exactly no matter what happens:: def getpass(prompt = "Password: "): - import termios, sys + import sys + import termios fd = sys.stdin.fileno() old = termios.tcgetattr(fd) new = termios.tcgetattr(fd)