Fixed #24175 -- Updated docstring convention.

This commit is contained in:
Tim Graham 2015-01-29 12:21:44 -05:00
parent 18f3e79b13
commit 63412262e5
1 changed files with 2 additions and 10 deletions

View File

@ -40,21 +40,13 @@ Python style
from django.views.generic.base import View
* In docstrings, use "action words" such as::
def foo():
"""
Calculates something and returns the result.
"""
pass
Here's an example of what not to do::
* In docstrings, follow :pep:`257`. For example::
def foo():
"""
Calculate something and return the result.
"""
pass
...
Template style
--------------