summaryrefslogtreecommitdiff
path: root/Modules/binascii.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-08-30 10:47:49 -0700
committerRaymond Hettinger <python@rcn.com>2016-08-30 10:47:49 -0700
commit15f44ab043b37c064d6891c7864205fed9fb0dd1 (patch)
tree726736587da36fbfebc1dfb12c4d9c14e6bf9a61 /Modules/binascii.c
parent613debcf0a0409b49ad4e1ee63dfc73119029755 (diff)
downloadcpython-git-15f44ab043b37c064d6891c7864205fed9fb0dd1.tar.gz
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
Diffstat (limited to 'Modules/binascii.c')
-rw-r--r--Modules/binascii.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/binascii.c b/Modules/binascii.c
index 50b09fe4f0..c3320cea2c 100644
--- a/Modules/binascii.c
+++ b/Modules/binascii.c
@@ -837,7 +837,7 @@ binascii_rledecode_hqx_impl(PyObject *module, Py_buffer *data)
if (in_byte == RUNCHAR) {
INBYTE(in_repeat);
/* only 1 byte will be written, but 2 bytes were preallocated:
- substract 1 byte to prevent overallocation */
+ subtract 1 byte to prevent overallocation */
writer.min_size--;
if (in_repeat != 0) {
@@ -858,7 +858,7 @@ binascii_rledecode_hqx_impl(PyObject *module, Py_buffer *data)
if (in_byte == RUNCHAR) {
INBYTE(in_repeat);
/* only 1 byte will be written, but 2 bytes were preallocated:
- substract 1 byte to prevent overallocation */
+ subtract 1 byte to prevent overallocation */
writer.min_size--;
if ( in_repeat == 0 ) {