Hacker News new | past | comments | ask | show | jobs | submit login

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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: