1.6 bytecodehacks.common

This module contains a function that was used in an earlier version of bytecodehacks. It's no longer needed by bytecodehacks, but it can still be handy.

copy_code_with_changes (codeobject,[argcount,][nlocals,][stacksize,][flags,][code,][consts,][names,][varnames,][filename,][name,][firstlineno,][lnotab,])

Call this function with keyword arguments!

Calls new.code with arguments filled in from codeobject except for those specified.

Send comments to mwh@python.net