Re: [Tutor] refractoing and backward-compatibility

2010-09-07 Thread Steven D'Aprano
On Tue, 7 Sep 2010 08:07:11 pm Timmie wrote: > 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 funct

[Tutor] refractoing and backward-compatibility

2010-09-07 Thread Timmie
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():