Update apigen.py

Stated the obvious