diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2012-11-03 21:36:22 +0200 |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2012-11-03 21:36:22 +0200 |
| commit | 46f36c8eeef40dc1b68be5514ed8b52c14c374a2 (patch) | |
| tree | 5ae69bbff352be6084384242297ee677b4eec5b3 /Modules/arraymodule.c | |
| parent | 1a60c7a058d2b7cb5d844845e32376cef0c9b8f9 (diff) | |
| parent | 9653e7ac7f1e6ca106848def3bd3f0a59e349d10 (diff) | |
| download | cpython-46f36c8eeef40dc1b68be5514ed8b52c14c374a2.tar.gz | |
Merge typo fixes (and the fix for #8401 that I wrongly merged) with 3.3.
Diffstat (limited to 'Modules/arraymodule.c')
| -rw-r--r-- | Modules/arraymodule.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 3f5aa8b361..4d4c2aee5a 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -1664,11 +1664,8 @@ static const struct mformatdescr { static enum machine_format_code typecode_to_mformat_code(char typecode) { -#ifdef WORDS_BIGENDIAN - const int is_big_endian = 1; -#else - const int is_big_endian = 0; -#endif + const int is_big_endian = PY_BIG_ENDIAN; + size_t intsize; int is_signed; |
