Re: Overriding module's class

2009-12-03 Thread Bruno Desthuilliers
Pavel Skvazh a écrit : > Is it possible to override a class in the module or the module itself > that is imported across the project to add new methods to it? > > For example I've got > > module 'a' with class A > > from a import A > > but I don't want to add a method to that A class not just i

Overriding module's class

2009-12-03 Thread Pavel Skvazh
Is it possible to override a class in the module or the module itself that is imported across the project to add new methods to it? For example I've got module 'a' with class A from a import A but I don't want to add a method to that A class not just in this unit, but across the project, so eve