##// END OF EJS Templates
linelog: extract `len(self._program)` to a local function...
Jun Wu -
r39006:32b1967b default
parent child Browse files
Show More
@@ -308,7 +308,8 b' class linelog(object):'
308 else:
308 else:
309 a1info = ar.lines[a1]
309 a1info = ar.lines[a1]
310 a1inst = self._program[a1info._offset]
310 a1inst = self._program[a1info._offset]
311 oldproglen = len(self._program)
311 programlen = self._program.__len__
312 oldproglen = programlen()
312 appendinst = self._program.append
313 appendinst = self._program.append
313
314
314 # insert
315 # insert
General Comments 0
You need to be logged in to leave comments. Login now