Skip to content

Commit

Permalink
Add url to pep 257 in readme (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
timotk authored and JelleZijlstra committed Nov 23, 2018
1 parent 8d58827 commit fa8be4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ string literals that ended up on the same line (see
[#26](https://github.com/ambv/black/issues/26) for details).

Why settle on double quotes? They anticipate apostrophes in English
text. They match the docstring standard described in PEP 257. An
empty string in double quotes (`""`) is impossible to confuse with
text. They match the docstring standard described in [PEP 257](https://www.python.org/dev/peps/pep-0257/#what-is-a-docstring).
An empty string in double quotes (`""`) is impossible to confuse with
a one double-quote regardless of fonts and syntax highlighting used.
On top of this, double quotes for strings are consistent with C which
Python interacts a lot with.
Expand Down

0 comments on commit fa8be4e

Please sign in to comment.