Commit 7e810a6e authored by Serhiy Storchaka's avatar Serhiy Storchaka

Use converter names instead of format units in Argument Clinic descriptions

in builtin and _crypt modules.
parent 4c97a62a
...@@ -17,8 +17,8 @@ module crypt ...@@ -17,8 +17,8 @@ module crypt
/*[clinic input] /*[clinic input]
crypt.crypt crypt.crypt
word: 's' word: str
salt: 's' salt: str
/ /
Hash a *word* with the given *salt* and return the hashed password. Hash a *word* with the given *salt* and return the hashed password.
...@@ -32,7 +32,7 @@ results for a given *word*. ...@@ -32,7 +32,7 @@ results for a given *word*.
static PyObject * static PyObject *
crypt_crypt_impl(PyModuleDef *module, const char *word, const char *salt) 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 /* On some platforms (AtheOS) crypt returns NULL for an invalid
salt. Return None in that case. XXX Maybe raise an exception? */ salt. Return None in that case. XXX Maybe raise an exception? */
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment