From 14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Thu, 13 Jun 2002 20:33:02 +0000 Subject: Patch #568124: Add doc string macros. --- Modules/cryptmodule.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Modules/cryptmodule.c') diff --git a/Modules/cryptmodule.c b/Modules/cryptmodule.c index 5c4ee2fa81..a1eaced218 100644 --- a/Modules/cryptmodule.c +++ b/Modules/cryptmodule.c @@ -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[] = { -- cgit v1.2.1