Update pymatch.py