Ignore:
Timestamp:
Apr 18, 2016, 10:53:24 PM (4 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
0e59ae0
Parents:
2e4ae1d
Message:

python/ext: continue preparing for python 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/ext/py-filterbank.c

    r2e4ae1d r5c1200a  
    6060    sprintf(errstr, "error creating filterbank with n_filters=%d, win_s=%d",
    6161        self->n_filters, self->win_s);
    62     PyErr_SetString (PyExc_StandardError, errstr);
     62    PyErr_SetString (PyExc_RuntimeError, errstr);
    6363    return -1;
    6464  }
     
    7373  del_aubio_filterbank(self->o);
    7474  del_fvec(self->out);
    75   self->ob_type->tp_free((PyObject *) self);
     75  Py_TYPE(self)->tp_free((PyObject *) self);
    7676}
    7777
Note: See TracChangeset for help on using the changeset viewer.