pass statements

https://docs.python.org/3/tutorial/controlflow.html

https://realpython.com/python-pass/

INTRODUCTION

'pass' is a keyword and an entire statement. This statement doesn’t do anything. It is used when a statement is required syntactically but you do not want any code to execute.

Use cases:
(a) future code,
(b) planning branching logic (if-elif-else),
(c) commenting out code,
(d) breakpoints for debuggers,
(e) new exceptions, catching exceptions.


while True:   # infinite loop
    pass   # waiting for keyboard interrupt

def dummy_function():
    pass   # to complete later

class EmptyClass:
    pass   # to complete later

class InvalidPasswordError(ValueError):   # a name is important only
    pass

if x % 2 == 0:   # two cases to consider
    pass   # what to do if x is even
else:
    pass   # what to do if x is odd

if condition:
    #statement1   # commented out in debugging, because it takes a long time
    pass
else:
    statement2