Dolda2000 GitWeb
/
pycfml.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Added a small utility library.
[pycfml.git]
/
classfile
/
util.py
1
def resource(cls, newfile, lnoff):
2
cls.srcfile = cls.intern(newfile, True)
3
for method in cls.methods:
4
if method.code and method.code.lintab:
5
method.code.lintab = [(pc, lin + lnoff) for pc, lin in method.code.lintab]