summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-03-16 09:05:33 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-03-16 09:05:33 (GMT)
commit13925008dc11f2a235627dc8c0440c0ce99171d9 (patch)
tree4746c36be25417c56cf86591bf222af49b7afdfd /Objects/longobject.c
parente3d09ff269330bd0076e3ab9cb81907fad717a68 (diff)
downloadcpython-13925008dc11f2a235627dc8c0440c0ce99171d9.zip
cpython-13925008dc11f2a235627dc8c0440c0ce99171d9.tar.gz
cpython-13925008dc11f2a235627dc8c0440c0ce99171d9.tar.bz2
#11565: Fix several typos. Patch by Piotr Kasprzyk.
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r--Objects/longobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index 7af5caf..6f998ce 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -712,7 +712,7 @@ _PyLong_FromByteArray(const unsigned char* bytes, size_t n,
is_signed = *pendbyte >= 0x80;
/* Compute numsignificantbytes. This consists of finding the most
- significant byte. Leading 0 bytes are insignficant if the number
+ significant byte. Leading 0 bytes are insignificant if the number
is positive, and leading 0xff bytes if negative. */
{
size_t i;
@@ -3196,7 +3196,7 @@ long_true_divide(PyObject *a, PyObject *b)
if (failed)
return NULL;
/* 'aexp' and 'bexp' were initialized to -1 to silence gcc-4.0.x,
- but should really be set correctly after sucessful calls to
+ but should really be set correctly after successful calls to
_PyLong_AsScaledDouble() */
assert(aexp >= 0 && bexp >= 0);