In VSCode, I created a module Sales.py:
def calc_tax:
pass
def calc_shipping:
pass
Note: The pass statement is properly indented but that doesn’t appear on this web page.
BUT the code editor underlines colon after calc_tax and flags it as “invalid syntax” but no explanation.