mirror of
https://github.com/python/cpython.git
synced 2025-10-21 22:22:48 +00:00
Patch #568124: Add doc string macros.
This commit is contained in:
parent
654c11ee3a
commit
14f8b4cfcb
63 changed files with 1509 additions and 1625 deletions
|
@ -23,13 +23,13 @@ static PyObject *crypt_crypt(PyObject *self, PyObject *args)
|
|||
|
||||
}
|
||||
|
||||
static char crypt_crypt__doc__[] = "\
|
||||
crypt(word, salt) -> string\n\
|
||||
PyDoc_STRVAR(crypt_crypt__doc__,
|
||||
"crypt(word, salt) -> string\n\
|
||||
word will usually be a user's password. salt is a 2-character string\n\
|
||||
which will be used to select one of 4096 variations of DES. The characters\n\
|
||||
in salt must be either \".\", \"/\", or an alphanumeric character. Returns\n\
|
||||
the hashed password as a string, which will be composed of characters from\n\
|
||||
the same alphabet as the salt.";
|
||||
the same alphabet as the salt.");
|
||||
|
||||
|
||||
static PyMethodDef crypt_methods[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue