Closed jacebrowning closed 8 years ago
Keep the same name:
Patched.__name__ = instance.__class__.__name__
docstring, etc. It might also be a good idea for the mapped class to be a subclass of the original.
Potentially this could work by setting values in __dict__.
__dict__
Keep the same name:
docstring, etc. It might also be a good idea for the mapped class to be a subclass of the original.