Added indices for backwards compatibility with Py2.6.
Added indices for backwards compatibility with Py2.6.

python-xlib/python-xlib,benoit-pierre/python-xlib,python-xlib/python-xlib,benoit-pierre/python-xlib