I am interested in what does python under the hood in the following code.
def test_func(a: str) -> str or None: