When using comments to explain a Python function, it's canonical to use docstrings instead of inline comments. So here you would put """intended to produce a NameError""" and so on for all the other functions in this module.

It's not a big deal; just something to remember for next time.