recipy.PatchSimple module

class recipy.PatchSimple.PatchSimple

Bases: recipy.PatchImporter.PatchImporter

Simple sublass of PatchImporter which implements a simple patch method that just patches specific input and output functions, as specified in the attributes of the class.

This should not be used directly, but subclasses which set these attributes should be created.


Do the patching of input_functions and output_functions in mod using input_wrapper and output_wrapper respectively.