summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2014-01-08 15:42:50 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2014-01-09 16:27:47 +0100
commit0c2fbe5a0c1a12751510840e285b7e45cc02ea22 (patch)
tree5f8e515f9d85f9b49b9444ec463775bcf73dd907 /python
parentd1dacd62bbff93351763ff339cca13ba8180dd89 (diff)
downloadsamba-0c2fbe5a0c1a12751510840e285b7e45cc02ea22.tar.gz
samba-0c2fbe5a0c1a12751510840e285b7e45cc02ea22.tar.xz
samba-0c2fbe5a0c1a12751510840e285b7e45cc02ea22.zip
samba:python - Py_RETURN_NONE remove compatibility code for releases < 2.4
http://www.python.org/doc//current/c-api/none.html Reviewed-By: Jelmer Vernooij <jelmer@samba.org> Autobuild-User(master): Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date(master): Thu Jan 9 16:27:47 CET 2014 on sn-devel-104
Diffstat (limited to 'python')
-rw-r--r--python/pyglue.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/python/pyglue.c b/python/pyglue.c
index 02fb005071a..3fc6e38691f 100644
--- 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;