diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2014-01-08 15:42:50 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2014-01-09 16:27:47 +0100 |
commit | 0c2fbe5a0c1a12751510840e285b7e45cc02ea22 (patch) | |
tree | 5f8e515f9d85f9b49b9444ec463775bcf73dd907 /lib/ldb/pyldb_util.c | |
parent | d1dacd62bbff93351763ff339cca13ba8180dd89 (diff) | |
download | samba-0c2fbe5a0c1a12751510840e285b7e45cc02ea22.tar.gz |
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 'lib/ldb/pyldb_util.c')
-rw-r--r-- | lib/ldb/pyldb_util.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/ldb/pyldb_util.c b/lib/ldb/pyldb_util.c index e2442e2194b..4be9126405d 100644 --- a/lib/ldb/pyldb_util.c +++ b/lib/ldb/pyldb_util.c @@ -36,11 +36,6 @@ typedef inquiry lenfunc; typedef intargfunc ssizeargfunc; #endif -#ifndef Py_RETURN_NONE -#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None -#endif - - /** * Find out PyTypeObject in ldb module for a given typename */ |