Slight syntax change for Py3k