[pypy-svn] r46947 - pypy/dist/pypy/module/struct

arigo at codespeak.net arigo at codespeak.net
Thu Sep 27 13:32:39 CEST 2007


Author: arigo
Date: Thu Sep 27 13:32:39 2007
New Revision: 46947

Modified:
   pypy/dist/pypy/module/struct/formatiterator.py
Log:
Translation fix.


Modified: pypy/dist/pypy/module/struct/formatiterator.py
==============================================================================
--- pypy/dist/pypy/module/struct/formatiterator.py	(original)
+++ pypy/dist/pypy/module/struct/formatiterator.py	Thu Sep 27 13:32:39 2007
@@ -82,7 +82,7 @@
         else:
             size = ovfcheck(fmtdesc.size * repetitions)
         self.totalsize = ovfcheck(self.totalsize + size)
-    operate._annspecialcase_ = 'specialize:argvalue(1)'
+    operate._annspecialcase_ = 'specialize:arg(1)'
 
     def align(self, mask):
         pad = (-self.totalsize) & mask
@@ -103,7 +103,7 @@
         else:
             for i in range(repetitions):
                 fmtdesc.pack(self)
-    operate._annspecialcase_ = 'specialize:argvalue(1)'
+    operate._annspecialcase_ = 'specialize:arg(1)'
 
     def align(self, mask):
         pad = (-len(self.result)) & mask
@@ -161,7 +161,7 @@
         else:
             for i in range(repetitions):
                 fmtdesc.unpack(self)
-    operate._annspecialcase_ = 'specialize:argvalue(1)'
+    operate._annspecialcase_ = 'specialize:arg(1)'
 
     def align(self, mask):
         self.inputpos = (self.inputpos + mask) & ~mask



More information about the Pypy-commit mailing list