How to write Inline Functions in Python?

Anton Vredegoor anton at vredegoor.doge.nl
Fri Nov 15 09:18:53 EST 2002


On 15 Nov 2002 05:01:48 -0800, arivu at qmaxtest.com (Arivazhagan) wrote:

<less is more>

class Good :
    
    def __init__(self) :
        pass
        
def test():
    A,B,C = Good(),Good(),Good()
    print A
    print B
    print C

if __name__=='__main__':
    test()

Regards,
		Anton.



More information about the Python-list mailing list