Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
detaro
on May 17, 2019
|
parent
|
context
|
favorite
| on:
Black – Uncompromising Python code formatter
How narrow those two choices are! The correct answer is obviously to use single-quotes for keys and key-like cases and double-quotes for values. Make formatters impossible to write! (last sentence very /s, but that style actually exists)
kbd
on May 18, 2019
[–]
That actually seems to be the de-facto Python style. Even Guido said at some point that that's his convention.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: