macro in python

Guilherme Polo ggpolo at gmail.com
Wed Feb 27 08:08:17 EST 2008


2008/2/27, bharath venkatesh <bharathv6 at gmail.com>:
> hi ..
>     how to create macro in python for set of instruction that is done
> frequently but too less in number to ignore the overhead of function call
> ...
>
> --
>  http://mail.python.org/mailman/listinfo/python-list
>

There is lambda, not exactly a macro. Depending on the "macro", just
define a name.
But every program uses functions why cant yours ?

-- 
-- Guilherme H. Polo Goncalves



More information about the Python-list mailing list