Redid docstring examples.

Added --undefined option in example.py.