GNU Info

Info Node: (python2.1-tut.info)pass Statements

(python2.1-tut.info)pass Statements


Next: Defining Functions Prev: break and continue Statements Up: More Control Flow Tools
Enter node , (file) or (file)node

`pass' Statements
=================

The `pass' statement does nothing.  It can be used when a statement is
required syntactically but the program requires no action.  For example:

     >>> while 1:
     ...       pass # Busy-wait for keyboard interrupt
     ...


automatically generated by info2www version 1.2.2.9