jgdv.debugging.destruction
See EOF for license/metadata/notes as applicable
Functions
|
A Class Decorator, attaches a debugging statement to the object destructor |
|
wraps existing del method |
|
standalone del logging |
Classes
A Decorator to log when instances of a class are deleted |
Module Contents
- jgdv.debugging.destruction.LogDel(cls) <Unknown>[source]
A Class Decorator, attaches a debugging statement to the object destructor To activate, add classvar of {jgdv.debugging._interface.DEL_LOG_K} = True to the class.
- jgdv.debugging.destruction._decorate_del(fn) <Unknown>[source]
wraps existing del method
- Parameters:
fn (jgdv.Func[Ellipsis, None])
- Return type:
jgdv.Func[Ellipsis, None]
- jgdv.debugging.destruction._log_del(self) <Unknown>[source]
standalone del logging
- Parameters:
self (Any)
- Return type:
None