File tree 1 file changed +3
-4
lines changed 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,7 @@ The :mod:`crypt` module defines the following functions:
96
96
:func: `mksalt `, one of the ``crypt.METHOD_* `` values (though not all
97
97
may be available on all platforms), or a full encrypted password
98
98
including salt, as returned by this function. If *salt * is not
99
- provided, the strongest method will be used (as returned by
100
- :func: `methods `).
99
+ provided, the strongest method available in :attr: `methods ` will be used.
101
100
102
101
Checking a password is usually done by passing the plain-text password
103
102
as *word * and the full results of a previous :func: `crypt ` call,
@@ -125,8 +124,8 @@ The :mod:`crypt` module defines the following functions:
125
124
.. function :: mksalt(method=None, *, rounds=None)
126
125
127
126
Return a randomly generated salt of the specified method. If no
128
- *method * is given, the strongest method available as returned by
129
- :func: ` methods ` is used.
127
+ *method * is given, the strongest method available in :attr: ` methods ` is
128
+ used.
130
129
131
130
The return value is a string suitable for passing as the *salt * argument
132
131
to :func: `crypt `.
You can’t perform that action at this time.
0 commit comments