Kind Regards, Abdur-Rahmaan Janhangeer compileralchemy.com <https://www.compileralchemy.com> | github <https://github.com/Abdur-rahmaanJ/> Mauritius
On Fri, Apr 3, 2020 at 12:34 AM Chris Angelico <[email protected]> wrote: > > You can mess with anything on a module if you subclass ModuleType and > stick your one into sys.modules. However, I'm not going to give you > the code, because I don't believe in helping people to do bad things > :) Use help, not repr. > Oh you mean subclassing, modifying then assigning your module to the modified one. Well this proposal is about doing it at the time of writing packages. About the help thing, it's more about customisation, help is an idea
_______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/WLMLUK6SYARWLT332BDU4GD6SOE7BJPN/ Code of Conduct: http://python.org/psf/codeofconduct/
