How to write Inline Functions in Python?

Dennis Lee Bieber wlfraed at ix.netcom.com
Thu Nov 14 22:04:51 EST 2002


Arivazhagan fed this fish to the penguins on Wednesday 13 November 2002 
09:14 pm:

> Hi
>   Can any one please explain how to write a Inline Function in Python?
> Is Inline Functions available in python?

        Can you show us an example of an "inline function" in some other 
language? I don't recognize the usage.

        Some languages have compile options to generate inline code for 
invoked functions, but that is usually a directive to the compiler for 
optimization, and doesn't have to be followed -- the function is still 
defined elsewhere.

-- 
 > ============================================================== <
 >   wlfraed at ix.netcom.com  | Wulfraed  Dennis Lee Bieber  KD6MOG <
 >      wulfraed at dm.net     |       Bestiaria Support Staff       <
 > ============================================================== <
 >        Bestiaria Home Page: http://www.beastie.dm.net/         <
 >            Home Page: http://www.dm.net/~wulfraed/             <




More information about the Python-list mailing list