From: Jeremy Stanley Date: Fri, 18 Jun 2010 00:23:26 +0000 (+0000) Subject: Correcting minor docstring typos. X-Git-Tag: 0.0.1~302 X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=commitdiff_plain;h=b5bb13e5b9eafaf77fb1863d200bf15d0184703a;hp=520cbd3c71a1c3a90fc4425c400f4bb4572890a8 Correcting minor docstring typos. * lib/mudpy/password.py (create): Corrected two minor typographical errors in the function's docstring. --- 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