Skip to content

Commit b119819

Browse files
authored
Docs: Replace leftover occurrences of crypt. with crypt_r. (#11)
1 parent b20e21d commit b119819

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ New in Python 3.3.
8484

8585
``methods``
8686
A list of available password hashing algorithms, as
87-
``crypt.METHOD_*`` objects. This list is sorted from strongest to
87+
``crypt_r.METHOD_*`` objects. This list is sorted from strongest to
8888
weakest.
8989

9090

@@ -96,7 +96,7 @@ The ``crypt_r`` module defines the following functions:
9696
``crypt(word, salt=None)``
9797
*word* will usually be a user's password as typed at a prompt or in a graphical
9898
interface. The optional *salt* is either a string as returned from
99-
``mksalt()``, one of the ``crypt.METHOD_*`` values (though not all
99+
``mksalt()``, one of the ``crypt_r.METHOD_*`` values (though not all
100100
may be available on all platforms), or a full encrypted password
101101
including salt, as returned by this function. If *salt* is not
102102
provided, the strongest method available in ``methods`` will be used.
@@ -119,7 +119,7 @@ The ``crypt_r`` module defines the following functions:
119119
password as salt when checking for a password.
120120

121121
Changed in Python 3.3:
122-
Accept ``crypt.METHOD_*`` values in addition to strings for *salt*.
122+
Accept ``crypt_r.METHOD_*`` values in addition to strings for *salt*.
123123

124124

125125
``mksalt(method=None, *, rounds=None)``

0 commit comments

Comments
 (0)