Add url to pep 257 in readme (#615)

This commit is contained in:
Timo 2018-11-23 07:07:08 +01:00 committed by Jelle Zijlstra
parent 8d58827376
commit fa8be4ed82

View File

@ -359,8 +359,8 @@ string literals that ended up on the same line (see
[#26](https://github.com/ambv/black/issues/26) for details). [#26](https://github.com/ambv/black/issues/26) for details).
Why settle on double quotes? They anticipate apostrophes in English Why settle on double quotes? They anticipate apostrophes in English
text. They match the docstring standard described in PEP 257. An text. They match the docstring standard described in [PEP 257](https://www.python.org/dev/peps/pep-0257/#what-is-a-docstring).
empty string in double quotes (`""`) is impossible to confuse with An empty string in double quotes (`""`) is impossible to confuse with
a one double-quote regardless of fonts and syntax highlighting used. a one double-quote regardless of fonts and syntax highlighting used.
On top of this, double quotes for strings are consistent with C which On top of this, double quotes for strings are consistent with C which
Python interacts a lot with. Python interacts a lot with.