Statement: pass : Pass « Language Basics « Python
- Python
- Language Basics
- Pass
Statement: pass

# The pass statement does nothing.
# It can be used when a statement is required syntactically but the program
# requires no action. For example:
while True:
pass # Busy-wait for keyboard interrupt
Related examples in the same category