Fix failing doctests and post correct example of passwd() usage.

This commit is contained in:
Fernando Perez 2011-11-18 20:20:57 -08:00
parent b4b1ad3dd5
commit 2a9ae4ee37

View File

@ -210,11 +210,9 @@ class NotebookApp(BaseIPythonApplication):
password = Unicode(u'', config=True,
help="""Hashed password to use for web authentication.
To generate, do:
To generate, type in a python/IPython shell:
from IPython.lib import passwd
passwd('mypassphrase')
from IPython.lib import passwd; passwd()
The string should be of the form type:salt:hashed-password.
"""