Ignore:
Timestamp:
Apr 18, 2016, 10:53:24 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, 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-cvec.c

    r2e4ae1d r5c1200a  
    7070  PyObject *result = NULL;
    7171
    72   format = PyString_FromString ("aubio cvec of %d elements");
     72  format = PyUnicode_FromString ("aubio cvec of %d elements");
    7373  if (format == NULL) {
    7474    goto fail;
     
    8181  cvec_print ( self->o );
    8282
    83   result = PyString_Format (format, args);
     83  result = PyUnicode_Format (format, args);
    8484
    8585fail:
     
    261261
    262262PyTypeObject Py_cvecType = {
    263   PyObject_HEAD_INIT (NULL)
    264   0,                            /* ob_size           */
     263  PyVarObject_HEAD_INIT(NULL, 0)
    265264  "aubio.cvec",                 /* tp_name           */
    266265  sizeof (Py_cvec),             /* tp_basicsize      */
Note: See TracChangeset for help on using the changeset viewer.