git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d703dc
)
python: Avoid PyDoc_STRVAR() macro which doesn't exist in Python2.2.
author
Jelmer Vernooij
<jelmer@samba.org>
Sun, 13 Jan 2008 02:32:44 +0000
(
03:32
+0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sun, 13 Jan 2008 02:32:44 +0000
(
03:32
+0100)
source/scripting/python/uuidmodule.c
patch
|
blob
|
history
diff --git
a/source/scripting/python/uuidmodule.c
b/source/scripting/python/uuidmodule.c
index 02c929d4a54b261d7c1d61400a04dae9f465a9c5..9b952d31b9b1e7fa731dabc413c2a47cdb2bfcfb 100644
(file)
--- a/
source/scripting/python/uuidmodule.c
+++ b/
source/scripting/python/uuidmodule.c
@@
-18,7
+18,7
@@
*/
#include "includes.h"
-#include
"Python.h"
+#include
<Python.h>
#include "librpc/ndr/libndr.h"
static PyObject *uuid_random(PyObject *self, PyObject *args)
@@
-47,11
+47,9
@@
static PyMethodDef methods[] = {
{ NULL, NULL }
};
-PyDoc_STRVAR(param_doc, "UUID helper routines");
-
PyMODINIT_FUNC inituuid(void)
{
- PyObject *mod = Py_InitModule3((char *)"uuid", methods,
param_doc
);
+ PyObject *mod = Py_InitModule3((char *)"uuid", methods,
"UUID helper routines"
);
if (mod == NULL)
return;
}