Skip to content

Changed summary line of docstring to follow PEP 0257#691

Merged
kennethreitz merged 2 commits into
realpython:masterfrom
remcodraijer:patch-1
Mar 24, 2016
Merged

Changed summary line of docstring to follow PEP 0257#691
kennethreitz merged 2 commits into
realpython:masterfrom
remcodraijer:patch-1

Conversation

@remcodraijer
Copy link
Copy Markdown
Contributor

Quoting https://www.python.org/dev/peps/pep-0257/#one-line-docstrings

"The docstring is a phrase ending in a period. It prescribes the function or method's effect as a command ("Do this", "Return that"), not as a description; e.g. don't write "Returns the pathname ..."."

Quoting https://www.python.org/dev/peps/pep-0257/#one-line-docstrings

The docstring is a phrase ending in a period. It prescribes the function or method's effect as a command ("Do this", "Return that"), not as a description; e.g. don't write "Returns the pathname ...".
Quoting https://www.python.org/dev/peps/pep-0257/#one-line-docstrings

"The docstring is a phrase ending in a period. It prescribes the function or method's effect as a command ("Do this", "Return that"), not as a description; e.g. don't write "Returns the pathname ...".
@kennethreitz kennethreitz merged commit bddc345 into realpython:master Mar 24, 2016
@kennethreitz
Copy link
Copy Markdown
Contributor

✨ 🍰 ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants