summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-09-17 03:18:28 +0000
committerBenjamin Peterson <benjamin@python.org>2009-09-17 03:18:28 +0000
commitfd1fcffced95f254136ca9e715d210fe7c8dd5b1 (patch)
treef035a2ac884385b53c5aac19348a16ddff4bc2a6
parent4d714cbbf1fff1711a60bd6d256bbf0e12491e09 (diff)
downloadcpython-git-fd1fcffced95f254136ca9e715d210fe7c8dd5b1.tar.gz
pep 8 defaults
-rw-r--r--Doc/library/termios.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/termios.rst b/Doc/library/termios.rst
index 4847949a49..2b1be7be6f 100644
--- a/Doc/library/termios.rst
+++ b/Doc/library/termios.rst
@@ -90,7 +90,7 @@ technique using a separate :func:`tcgetattr` call and a :keyword:`try` ...
:keyword:`finally` statement to ensure that the old tty attributes are restored
exactly no matter what happens::
- def getpass(prompt = "Password: "):
+ def getpass(prompt="Password: "):
import termios, sys
fd = sys.stdin.fileno()
old = termios.tcgetattr(fd)