Syntax fix for Python Revist

Fixing syntax error that broke formatting