Python - remove 2.x only code paths

This commit is contained in:
Geert Janssens
2019-10-01 16:27:28 +02:00
parent 4ffc8bbb8e
commit 0eb0b922d7
4 changed files with 4 additions and 32 deletions

View File

@@ -35,12 +35,7 @@ SCM scm_init_unittest_support_module (void);
#if defined(SWIGPYTHON)
%{
/* avoid no previous prototype warning/error */
#if PY_VERSION_HEX >= 0x03000000
PyObject*
#else
void
#endif
SWIG_init (void);
PyObject* SWIG_init (void);
%}
#endif