Update gencompletion.py.