MCPcopy Index your code
hub / github.com/python/cpython / pymap

Function pymap

Tools/unicode/gencodec.py:358–362  ·  view source on GitHub ↗
(name,map,pyfile,encodingname,comments=1)

Source from the content-addressed store, hash-verified

356 return '\n'.join(l).expandtabs()
357
358def pymap(name,map,pyfile,encodingname,comments=1):
359
360 code = codegen(name,map,encodingname,comments)
361 with open(pyfile,'w') as f:
362 f.write(code)
363
364def marshalmap(name,map,marshalfile):
365

Callers 2

convertdirFunction · 0.85
rewritepythondirFunction · 0.85

Calls 3

codegenFunction · 0.85
openFunction · 0.50
writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…