MCPcopy Create free account
hub / github.com/CFSworks/limeade / ClassHook

Class ClassHook

limeade/mutating.py:74–162  ·  view source on GitHub ↗

This is a context manager (use it with `with`) that hooks the `builtins.__build_class__` function to cause classes to be mutated rather than redefined. It needs a list/tuple of old classes to consider for mutation. The mutation system picks the most similar class to mutate, fal

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__import_hookMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected