mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
Use converter names instead of format units in Argument Clinic descriptions
in builtin and _crypt modules.
This commit is contained in:
parent
4c97a62ae3
commit
7e810a6e3d
2 changed files with 75 additions and 75 deletions
|
@ -17,8 +17,8 @@ module crypt
|
|||
/*[clinic input]
|
||||
crypt.crypt
|
||||
|
||||
word: 's'
|
||||
salt: 's'
|
||||
word: str
|
||||
salt: str
|
||||
/
|
||||
|
||||
Hash a *word* with the given *salt* and return the hashed password.
|
||||
|
@ -32,7 +32,7 @@ results for a given *word*.
|
|||
|
||||
static PyObject *
|
||||
crypt_crypt_impl(PyModuleDef *module, const char *word, const char *salt)
|
||||
/*[clinic end generated code: output=995ad1e854d83069 input=4d93b6d0f41fbf58]*/
|
||||
/*[clinic end generated code: output=995ad1e854d83069 input=0e8edec9c364352b]*/
|
||||
{
|
||||
/* On some platforms (AtheOS) crypt returns NULL for an invalid
|
||||
salt. Return None in that case. XXX Maybe raise an exception? */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue