summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-05-30 08:09:35 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-05-30 08:09:35 (GMT)
commit7e810a6e3d51e512968f6ac276e555ea99d151d8 (patch)
tree86a124ffa4b68a4ffbe32cac41dd746f22e64cb3 /Modules
parent4c97a62ae34a0e892755a8f95ae6e11881d6feb3 (diff)
downloadcpython-7e810a6e3d51e512968f6ac276e555ea99d151d8.zip
cpython-7e810a6e3d51e512968f6ac276e555ea99d151d8.tar.gz
cpython-7e810a6e3d51e512968f6ac276e555ea99d151d8.tar.bz2
Use converter names instead of format units in Argument Clinic descriptions
in builtin and _crypt modules.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_cryptmodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_cryptmodule.c b/Modules/_cryptmodule.c
index 16cc4c2..d422cfd 100644
--- a/Modules/_cryptmodule.c
+++ b/Modules/_cryptmodule.c
@@ -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? */