Update literals.py

syntax bug fixes