Changeset ff89a06


Ignore:
Timestamp:
May 13, 2016, 5:23:20 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:
98e4106
Parents:
7876b67
Message:

python/ext/py-musicutils.c: do not overwrite PyArg_ParseTuple messages

File:
1 edited

Legend:

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

    r7876b67 rff89a06  
    99
    1010  if (!PyArg_ParseTuple (args, "|sI", &wintype, &winlen)) {
    11     PyErr_SetString (PyExc_ValueError, "failed parsing arguments");
    1211    return NULL;
    1312  }
     
    3029
    3130  if (!PyArg_ParseTuple (args, "O:level_lin", &input)) {
    32     PyErr_SetString (PyExc_ValueError, "failed parsing arguments");
    3331    return NULL;
    3432  }
     
    5957
    6058  if (!PyArg_ParseTuple (args, "O:db_spl", &input)) {
    61     PyErr_SetString (PyExc_ValueError, "failed parsing arguments");
    6259    return NULL;
    6360  }
     
    8986
    9087  if (!PyArg_ParseTuple (args, "O" AUBIO_NPY_SMPL_CHR ":silence_detection", &input, &threshold)) {
    91     PyErr_SetString (PyExc_ValueError, "failed parsing arguments");
    9288    return NULL;
    9389  }
     
    119115
    120116  if (!PyArg_ParseTuple (args, "O" AUBIO_NPY_SMPL_CHR ":level_detection", &input, &threshold)) {
    121     PyErr_SetString (PyExc_ValueError, "failed parsing arguments");
    122117    return NULL;
    123118  }
Note: See TracChangeset for help on using the changeset viewer.