Update invidx.py

added descriptive comment