class implementation

Terry Reedy tjreedy at udel.edu
Sun Oct 6 15:52:12 EDT 2013


On 10/6/2013 9:15 AM, markotaht at gmail.com wrote:
> There is this class file, it has its functions and variables. Now im greating my program, that uses the funcions from the class. BUt there are some functions missing from the class. So i want to add some extra funtions to the class, whidout altering the original source code, but by extending it in my code. But for that i need to use some variables that exsist in the original class. Is there a way i can acccsess them?

I though you already got an answer: subclass the class.


-- 
Terry Jan Reedy




More information about the Python-list mailing list