updating python for 2.31 release, fixing syntax error in remote/webelement.py