Open groutr opened 1 year ago
Apparently the .replace method on code objects wasn't introduced till Python 3.8. Code objects have readonly attributes though, so I need to figure out a workaround for updating the wrapper function name.
@eriknw The test failures I think are caused by the linter. This is ready to look over though.
Candidate function to reorder arguments of an existing function. Allows alternative function signatures that might be more useful to curry. The wrapped function name reflects the argument remapping for easier debugging.