From: Ezio Melotti Date: Fri, 14 Dec 2012 18:18:46 +0000 (+0200) Subject: #16683: restore alphabetical order in audioop docs. Patch by Serhiy Storchaka. X-Git-Tag: v2.7.5~109^2~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eea058b0143e98ef902a3931895aa99252059ef0;p=python #16683: restore alphabetical order in audioop docs. Patch by Serhiy Storchaka. --- diff --git a/Doc/library/audioop.rst b/Doc/library/audioop.rst index 29c3914e12..0a8ac56d1c 100644 --- a/Doc/library/audioop.rst +++ b/Doc/library/audioop.rst @@ -162,12 +162,6 @@ The module defines the following variables and functions: hardware, among others. -.. function:: minmax(fragment, width) - - Return a tuple consisting of the minimum and maximum values of all samples in - the sound fragment. - - .. function:: max(fragment, width) Return the maximum of the *absolute value* of all samples in a fragment. @@ -178,6 +172,12 @@ The module defines the following variables and functions: Return the maximum peak-peak value in the sound fragment. +.. function:: minmax(fragment, width) + + Return a tuple consisting of the minimum and maximum values of all samples in + the sound fragment. + + .. function:: mul(fragment, width, factor) Return a fragment that has all samples in the original fragment multiplied by