> Is there a way to create an empty function definition with no lines of code > in it? In my coding style I will often do this ( in other languages ) for > RAD just to remind myself that I will need to implement the function later. >
Use pass def f(): pass also works for classes: class MyClass: pass I use that a lot. Alan G Author of the Learn to Program web tutor http://www.freenetpages.co.uk/hp/alan.gauld _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor