comparison python/hexedit.py @ 279:2ccd57b1d78c

Fix register allocator to do burn2 OK
author Windel Bouwman
date Sat, 12 Oct 2013 09:56:23 +0200
parents c101826ffe2b
children 1c7c1e619be8
comparison
equal deleted inserted replaced
278:9fca39eebe50 279:2ccd57b1d78c
3 import sys 3 import sys
4 from PyQt4.QtCore import * 4 from PyQt4.QtCore import *
5 from PyQt4.QtGui import * 5 from PyQt4.QtGui import *
6 from PyQt4 import uic 6 from PyQt4 import uic
7 7
8 BYTES_PER_LINE, GAP = 16, 12 8 BYTES_PER_LINE, GAP = 8, 12
9 9
10 def clamp(minimum, x, maximum): 10 def clamp(minimum, x, maximum):
11 return max(minimum, min(x, maximum)) 11 return max(minimum, min(x, maximum))
12 12
13 def asciiChar(v): 13 def asciiChar(v):