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 <ros...@gmail.com> 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 -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/WLMLUK6SYARWLT332BDU4GD6SOE7BJPN/ Code of Conduct: http://python.org/psf/codeofconduct/