Skip to content

Pass Statement

Used as a placeholder (empty body) for a function or type definition, or used to satisfy the parsing requirement for a block with no statements to have one statement.

def todo():
    pass  # Placeholder

class Placeholder:
    pass

Implementation - ✅ Native - Empty statement or empty body.