def _make_rewritten_pyc(state, source_stat, pyc, co):
 if sys.platform.startswith('win'):
  _write_pyc(state, co, source_stat, pyc)
 else:
  proc_pyc = ((pyc + '.') + str(os.getpid()))
  if _write_pyc(state, co, source_stat, proc_pyc):
   os.rename(proc_pyc, pyc)

def _make_rewritten_pyc ( state , source_stat , pyc , co ) : if sys . platform . startswith ( 'win' ) : _write_pyc ( state , co , source_stat , pyc ) else : proc_pyc = ( ( pyc + '.' ) + str ( os . getpid ( ) ) ) if _write_pyc ( state , co , source_stat , proc_pyc ) : os . rename ( proc_pyc , pyc )
try to dump rewritten code to *pyc* .