git.samba.org
/
amitay
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
samba:python - Py_RETURN_NONE remove compatibility code for releases < 2.4
[amitay/samba.git]
/
python
/
pyglue.c
diff --git
a/python/pyglue.c
b/python/pyglue.c
index 02fb005071a01ee0f593b07db6c0cf33cc871823..3fc6e38691f1e8a2df68de5f19a200e3fd52393b 100644
(file)
--- a/
python/pyglue.c
+++ b/
python/pyglue.c
@@
-25,10
+25,6
@@
void init_glue(void);
-#ifndef Py_RETURN_NONE
-#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
-#endif
-
static PyObject *py_generate_random_str(PyObject *self, PyObject *args)
{
int len;