mirror of
https://github.com/python/cpython
synced 2026-09-29 10:15:30 +03:00
Corrections for a/an in code comments and documentation
This commit is contained in:
parent
f0564164ba
commit
4c35964b76
9 changed files with 14 additions and 14 deletions
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue