add comments to typelist.py