summaryrefslogtreecommitdiffstats
path: root/Modules/audioop.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-08 13:53:41 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-05-08 13:53:41 (GMT)
commit4c35964b764540988bfb342bffc7c4b1cb674031 (patch)
treeaecd23f6cba96f1110bd90cc9fd774f17d6fa4ce /Modules/audioop.c
parentf0564164bab43f078c9f84f334d72ddb0e69110c (diff)
downloadcpython-4c35964b764540988bfb342bffc7c4b1cb674031.zip
cpython-4c35964b764540988bfb342bffc7c4b1cb674031.tar.gz
cpython-4c35964b764540988bfb342bffc7c4b1cb674031.tar.bz2
Corrections for a/an in code comments and documentation
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 3b05aec..306937e 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. */
@@ -217,7 +217,7 @@ static 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.