(name,map,marshalfile)
| 362 | f.write(code) |
| 363 | |
| 364 | def marshalmap(name,map,marshalfile): |
| 365 | |
| 366 | d = {} |
| 367 | for e,(u,c) in map.items(): |
| 368 | d[e] = (u,c) |
| 369 | with open(marshalfile,'wb') as f: |
| 370 | marshal.dump(d,f) |
| 371 | |
| 372 | def convertdir(dir, dirprefix='', nameprefix='', comments=1): |
| 373 |
no test coverage detected
searching dependent graphs…