python-syntax enhance