We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8598841 commit d2361b8Copy full SHA for d2361b8
Wrapping/Generators/Python/module_ext.i.in
@@ -6,8 +6,10 @@
6
7
#if PY_VERSION_HEX >= 0x03020000
8
# define SWIGPY_SLICE_ARG(obj) ((PyObject*) (obj))
9
+# define SWIGPY_SLICEOBJECT PyObject
10
#else
11
# define SWIGPY_SLICE_ARG(obj) ((PySliceObject*) (obj))
12
+# define SWIGPY_SLICEOBJECT PySliceObject
13
#endif
14
%}
15
0 commit comments