summaryrefslogtreecommitdiff
path: root/Modules/audioop.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-08 14:02:35 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-05-08 14:02:35 +0000
commit1ce738e08f147beb724f22a9411724a955cd418d (patch)
tree9c2b84d7b81d1117159dd791094994d96094077e /Modules/audioop.c
parentcc22984d9e5e5357212db2eb1841f93e75fe75f5 (diff)
parent4c35964b764540988bfb342bffc7c4b1cb674031 (diff)
downloadcpython-git-1ce738e08f147beb724f22a9411724a955cd418d.tar.gz
Merge typo fixes from 3.5
Diffstat (limited to 'Modules/audioop.c')
-rw-r--r--Modules/audioop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/audioop.c b/Modules/audioop.c
index d97a3697b2..9a96eea0b9 100644
--- a/Modules/audioop.c
+++ b/Modules/audioop.c
@@ -46,7 +46,7 @@ fbound(double val, double minval, double maxval)
*/
#define BIAS 0x84 /* define the add-in bias for 16 bit samples */
#define CLIP 32635
-#define SIGN_BIT (0x80) /* Sign bit for a A-law byte. */
+#define SIGN_BIT (0x80) /* Sign bit for an A-law byte. */
#define QUANT_MASK (0xf) /* Quantization field mask. */
#define SEG_SHIFT (4) /* Left shift for segment number. */
#define SEG_MASK (0x70) /* Segment field mask. */
@@ -219,7 +219,7 @@ static const PyInt16 _st_alaw2linear16[256] = {
};
/*
- * linear2alaw() accepts an 13-bit signed integer and encodes it as A-law data
+ * linear2alaw() accepts a 13-bit signed integer and encodes it as A-law data
* stored in an unsigned char. This function should only be called with
* the data shifted such that it only contains information in the lower
* 13-bits.