summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-08 14:02:35 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-05-08 14:02:35 (GMT)
commit1ce738e08f147beb724f22a9411724a955cd418d (patch)
tree9c2b84d7b81d1117159dd791094994d96094077e /Modules
parentcc22984d9e5e5357212db2eb1841f93e75fe75f5 (diff)
parent4c35964b764540988bfb342bffc7c4b1cb674031 (diff)
downloadcpython-1ce738e08f147beb724f22a9411724a955cd418d.zip
cpython-1ce738e08f147beb724f22a9411724a955cd418d.tar.gz
cpython-1ce738e08f147beb724f22a9411724a955cd418d.tar.bz2
Merge typo fixes from 3.5
Diffstat (limited to 'Modules')
-rw-r--r--Modules/arraymodule.c2
-rw-r--r--Modules/audioop.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index 323e0c1..78e5561 100644
--- a/Modules/arraymodule.c
+++ b/Modules/arraymodule.c
@@ -2090,7 +2090,7 @@ array__array_reconstructor_impl(PyModuleDef *module, PyTypeObject *arraytype,
* that fits better. This may result in an array with narrower
* or wider elements.
*
- * For example, if a 32-bit machine pickles a L-code array of
+ * For example, if a 32-bit machine pickles an L-code array of
* unsigned longs, then the array will be unpickled by 64-bit
* machine as an I-code array of unsigned ints.
*
diff --git a/Modules/audioop.c b/Modules/audioop.c
index d97a369..9a96eea 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.