FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Changed summary line of docstring to follow PEP 0257 by remcodraijer · Pull Request #691 · realpython/python-guide · GitHub

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

kennethreitz merged 2 commits into
realpython:masterfrom
remcodraijer:patch-1

Conversation

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 merged commit bddc345 into realpython:master Mar 24, 2016

Copy link
Copy Markdown
Contributor

✨ 🍰 ✨

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL