[pypy-svn] r14216 - pypy/dist/pypy/lib

jacob at codespeak.net jacob at codespeak.net
Mon Jul 4 15:52:47 CEST 2005


Author: jacob
Date: Mon Jul  4 15:52:46 2005
New Revision: 14216

Modified:
   pypy/dist/pypy/lib/struct.py
Log:
Fixed spelling.

Modified: pypy/dist/pypy/lib/struct.py
==============================================================================
--- pypy/dist/pypy/lib/struct.py	(original)
+++ pypy/dist/pypy/lib/struct.py	Mon Jul  4 15:52:46 2005
@@ -108,7 +108,7 @@
     if not isinstance(number, (int,long)):
         raise StructError,"argument for i,I,l,L,q,Q,h,H must be integer"
     if number > 2**(8*size-1)-1 or number < -1*2**(8*size-1):
-        raise OverflowError,"Number:%i to large to convert" % number
+        raise OverflowError,"Number:%i too large to convert" % number
     return pack_int(number,size,le)
 
 def pack_unsigned_int(number,size,le):
@@ -117,7 +117,7 @@
     if number < 0:
         raise TypeError,"can't convert negative long to unsigned"
     if number > 2**(8*size)-1:
-        raise OverflowError,"Number:%i to large to convert" % number
+        raise OverflowError,"Number:%i too large to convert" % number
     return pack_int(number,size,le)
     
 def pack_char(char,size,le):



More information about the Pypy-commit mailing list