defining class functions
astan.chee at al.com.au
Tue Jan 20 01:08:45 CET 2009
I have two classes in python that are in two different files/python
scripts. Class A uses Class B like this:
print "hello one"
instance = B()
print "hello three"
What I want to do here is to (re)define function1 from function3. Is
that possible? Is there any way of redefining a function of another
class without inheriting it? Does this make sense?
More information about the Python-list