Closed cbjs closed 11 years ago
Hi cbjs, what python version are you using?
2.6.5 It 's a problem of python version. upgrade to 2.7.x will solve this.
Thanks for reporting, I try to make cppman compatible to Python 2.6.X
Change cppman/Formatter.py line 215 to:
tbl = re.sub(re.compile(r'T{\n(..*?)\nT}', flags=re.S), r'T{\n\E \1\nT}', tbl)
will make it ok with 2.6.x
I use tbl = re.compile(r'T{\n(..*?)\nT}', re.S).sub(r'T{\n\E \1\nT}', tbl) instead, thanks anyway.
error: sub() got an unexpected keyword argument 'flags'