diff options
Diffstat (limited to 'Doc/library/audioop.rst')
-rw-r--r-- | Doc/library/audioop.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/audioop.rst b/Doc/library/audioop.rst index ce127aa..e850c3f 100644 --- a/Doc/library/audioop.rst +++ b/Doc/library/audioop.rst @@ -276,6 +276,6 @@ sample and subtract the whole output sample from the input sample:: # out_test) prefill = '\0'*(pos+ipos)*2 postfill = '\0'*(len(inputdata)-len(prefill)-len(outputdata)) - outputdata = prefill + audioop.mul(outputdata,2,-factor) + postfill + outputdata = prefill + audioop.mul(outputdata, 2, -factor) + postfill return audioop.add(inputdata, outputdata, 2) |