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

The other way around (converting double quoted strings to single quoted ones) would be more understandable, as that is what str.__repr__ prefers:

    >>> "string"
    'string'
I sense a bloated ego of the author in Black's decisions -- to contradict with the language's preferred formatting style.


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

Search: