Hello,
I would like to refractor a module I write adding more functiosn and renaming
old ones.
In order to maintain backward compatibility with old scripts that reply on those
modules, I would like to introduce alias names for the old functions:
# refractored functions
def renamed_function():
print 'got a new name'
# alias
old_function = renamed_function
Is this a good approach or are there better suggestions out there in the Python
community for such a purpose?
Thanks in advance for your hint,
Timmie
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor