From 8aa26a2171db550e3ce8e75298c08e4e83ade5d8 2011-11-19 01:54:20 From: Stefan van der Walt Date: 2011-11-19 01:54:20 Subject: [PATCH] Update docstring to refer to hashlib. --- diff --git a/IPython/lib/security.py b/IPython/lib/security.py index fb50f11..880bee3 100644 --- a/IPython/lib/security.py +++ b/IPython/lib/security.py @@ -16,7 +16,8 @@ def passwd(passphrase, algorithm='sha1'): passphrase : str Password to hash. algorithm : str - Hashing algorithm to use. + Hashing algorithm to use (e.g, 'sha1' or any argument supported + by :func:`hashlib.new`). Returns -------