PEP 8: Add one line docstring example (#1670)

This commit is contained in:
Kyle Stanley 2020-10-21 22:20:02 -04:00 committed by GitHub
parent 48e95e4767
commit 0511666bde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -785,7 +785,9 @@ Conventions for writing good documentation strings
"""
- For one liner docstrings, please keep the closing ``"""`` on
the same line.
the same line::
"""Return an ex-parrot."""
Naming Conventions