make order of function definitions irrelevant
Michele Simionato
mis6 at pitt.edu
Tue Nov 11 09:50:56 EST 2003
Joerg Schuster <js at cis.uni-muenchen.de> wrote in message news:<crtr80fz49w.fsf at pinatubo.cis.uni-muenchen.de>...
> Thank you all, so far. I had asked the question because I am writing a
> program that translates linguistic grammars into python functions. The
> python functions are supposed to be called by another program of mine
> that does regular expression matching.
If you wrap all your functions in a class and make them staticmethods,
the order of definition does not matter. Is this enough for you?
Michele
More information about the Python-list
mailing list