summaryrefslogtreecommitdiffstats
path: root/Modules/_struct.c
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-03-15 03:18:48 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-03-15 03:18:48 (GMT)
commit42da663e6fe7ecbb89b17d596c76812a91bb99a4 (patch)
treef660a093d1eb0841656b9b10173589f357ec0484 /Modules/_struct.c
parentf6db0bbbeefa1bde9fd09c53e7c6bf0e57481590 (diff)
downloadcpython-42da663e6fe7ecbb89b17d596c76812a91bb99a4.zip
cpython-42da663e6fe7ecbb89b17d596c76812a91bb99a4.tar.gz
cpython-42da663e6fe7ecbb89b17d596c76812a91bb99a4.tar.bz2
#11515: fix several typos. Patch by Piotr Kasprzyk.
Diffstat (limited to 'Modules/_struct.c')
-rw-r--r--Modules/_struct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c
index 74d846a..092b72c 100644
--- a/Modules/_struct.c
+++ b/Modules/_struct.c
@@ -1106,7 +1106,7 @@ whichtable(char **pfmt)
case '>':
case '!': /* Network byte order is big-endian */
return bigendian_table;
- case '=': { /* Host byte order -- different from native in aligment! */
+ case '=': { /* Host byte order -- different from native in alignment! */
int n = 1;
char *p = (char *) &n;
if (*p == 1)