diff options
Diffstat (limited to 'intern/audaspace/Python/AUD_PyAPI.cpp')
-rw-r--r-- | intern/audaspace/Python/AUD_PyAPI.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/intern/audaspace/Python/AUD_PyAPI.cpp b/intern/audaspace/Python/AUD_PyAPI.cpp index a89bd66e3ef..f62135b66e5 100644 --- a/intern/audaspace/Python/AUD_PyAPI.cpp +++ b/intern/audaspace/Python/AUD_PyAPI.cpp @@ -136,7 +136,8 @@ Sound_new(PyTypeObject *type, PyObject *args, PyObject *kwds) } PyDoc_STRVAR(M_aud_Sound_sine_doc, - "Creates a sine sound at a specific frequency."); + "sine()\n" + "\tCreates a sine sound at a specific frequency.\n"); static PyObject * Sound_sine(PyObject* nothing, PyObject* args); @@ -1652,7 +1653,9 @@ Device_get_status(Device *self, PyObject *object) } PyDoc_STRVAR(M_aud_Device_lock_doc, - "Locks the sound device."); + ".. function:: lock()\n" + "\n" + " Locks the sound device.\n"); static PyObject * Device_lock(Device *self) |