File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -96,8 +96,7 @@ The :mod:`crypt` module defines the following functions:
9696 :func: `mksalt `, one of the ``crypt.METHOD_* `` values (though not all
9797 may be available on all platforms), or a full encrypted password
9898 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.
101100
102101 Checking a password is usually done by passing the plain-text password
103102 as *word * and the full results of a previous :func: `crypt ` call,
@@ -125,8 +124,8 @@ The :mod:`crypt` module defines the following functions:
125124.. function :: mksalt(method=None, *, rounds=None)
126125
127126 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.
130129
131130 The return value is a string suitable for passing as the *salt * argument
132131 to :func: `crypt `.
You can’t perform that action at this time.
0 commit comments