pass

say it: “PASS” /ˈpæs/

Does nothing. A placeholder where Python needs at least one line.

What does pass do?

pass does nothing. It fills a spot where Python needs at least one line, like a function you plan to write later.

def send_receipt(order):
    pass  # TODO: email the receipt

Level: Apprentice · More Python terms at this level

Updated