Skip to content

Commit b031883

Browse files
bingyaojnothman
authored andcommitted
DOC: Add description for blank lines after the docstring. (#229)
1 parent b45eb2b commit b031883

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/example.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,8 @@ def foo(var1, var2, long_var_name='hi'):
119119
b
120120
121121
"""
122-
122+
# After closing class docstring, there should be one blank line to
123+
# separate following codes (according to PEP257).
124+
# But for function, method and module, there should be no blank lines
125+
# after closing the docstring.
123126
pass

0 commit comments

Comments
 (0)