3 ms·
For anyone (like me) who doesn't know what monkey patching is, wikipedia says it is "dynamic modifications of a class or module at runtime, motivated by the int
by chipperyman573 7y ago
For anyone (like me) who doesn't know what monkey patching is, wikipedia says it is "dynamic modifications of a class or module at runtime, motivated by the intent to patch existing third-party code as a workaround to a bug or feature which does not act as desired"
https://en.wikipedia.org/wiki/Monkey_patch https://en.wikipedia.org/wiki/Monkey_patch
- Izkata 7y agoFor anyone further curious, this is how python's `mock` module works - structured application and removal of monkeypatches.