mirror of https://github.com/python/cpython
pep 8 defaults
This commit is contained in:
parent
4d714cbbf1
commit
fd1fcffced
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue