aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pyo/python-3.9.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-pyo/python-3.9.patch')
-rw-r--r--community/py3-pyo/python-3.9.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/community/py3-pyo/python-3.9.patch b/community/py3-pyo/python-3.9.patch
new file mode 100644
index 0000000000..bdac4d7ab7
--- /dev/null
+++ b/community/py3-pyo/python-3.9.patch
@@ -0,0 +1,20 @@
+diff --git a/src/objects/bandsplitmodule.c b/src/objects/bandsplitmodule.c
+index b8290c0..4f7c547 100644
+--- a/src/objects/bandsplitmodule.c
++++ b/src/objects/bandsplitmodule.c
+@@ -1636,7 +1636,7 @@ MultiBandMain_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
+ static PyObject *
+ MultiBandMain_setFrequencies(MultiBandMain* self, PyObject *arg) {
+ int i, bounds = self->nbands - 1;
+- if PyList_Check(arg) {
++ if (PyList_Check(arg)) {
+ if (PyList_Size(arg) == bounds) {
+ for (i=0; i<bounds; i++) {
+ MultiBandMain_compute_variables(self, PyFloat_AsDouble(PyList_GetItem(arg, i)), i);
+@@ -1967,4 +1967,4 @@ PyTypeObject MultiBandType = {
+ 0, /* tp_init */
+ 0, /* tp_alloc */
+ MultiBand_new, /* tp_new */
+-};
+\ No newline at end of file
++};