Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How does using dict() solve the requirement for quotes that you've identified?


dict(foo='bar') becomes {'foo': 'bar'}, removing the need for quotes around the key.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: