]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
pep 8 defaults
authorBenjamin Peterson <benjamin@python.org>
Thu, 17 Sep 2009 03:18:28 +0000 (03:18 +0000)
committerBenjamin Peterson <benjamin@python.org>
Thu, 17 Sep 2009 03:18:28 +0000 (03:18 +0000)
Doc/library/termios.rst

index 4847949a49b56fcbd30126356544c500fdf05466..2b1be7be6f74f252ef7969dd375e6c6fdbef69c1 100644 (file)
@@ -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)