2 ms·
Not really. The injected code will just be run in the context of one of the modules, probably "__main__". But you can make that code do anything, including deco
by skeledrew 1y ago
Not really. The injected code will just be run in the context of one of the modules, probably "__main__". But you can make that code do anything, including decorating any class or function objects for whatever.