From b5bb13e5b9eafaf77fb1863d200bf15d0184703a Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Fri, 18 Jun 2010 00:23:26 +0000 Subject: [PATCH] Correcting minor docstring typos. * lib/mudpy/password.py (create): Corrected two minor typographical errors in the function's docstring. --- lib/mudpy/password.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/mudpy/password.py b/lib/mudpy/password.py index 258855a..29fc5d9 100644 --- a/lib/mudpy/password.py +++ b/lib/mudpy/password.py @@ -101,7 +101,7 @@ def create( separator character used to identify subsequent fields. The fields in order are: - 1. the decimal index number denoting which algorithm was used, also + 1. the decimal index number indicating which algorithm was used, also mapped as convenience constants at the beginning of this module 2. the number of times (as an exponent of 2) which the algorithm was @@ -116,10 +116,10 @@ def create( 4. the resulting password hash itself, base64-encoded using . and / as the two non-alpha-numeric characters required to reach 64 - The defaults provided should be safe for everyday use, but for - something more heavy-duty may be in order for admin users, such as: + The defaults provided should be safe for everyday use, but something + more heavy-duty may be in order for admin users, such as:: - create(password, algorithm=SHA256, rounds=12, salt_len=16) + create(password, algorithm=SHA256, rounds=12, salt_len=16) """ import hashlib -- 2.11.0