From 094d744d305040241a1481a366a91370468e976c Mon Sep 17 00:00:00 2001 From: Bingyao Liu Date: Thu, 1 Aug 2019 11:52:34 +0800 Subject: [PATCH] DOC: Add description for blank lines after the docstring. --- doc/example.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/example.py b/doc/example.py index e8e6e5f2..4ff07c8f 100644 --- a/doc/example.py +++ b/doc/example.py @@ -119,5 +119,8 @@ def foo(var1, var2, long_var_name='hi'): b """ - + # After closing class docstring, there should be one blank line to + # separate following codes (according to PEP257). + # But for function, method and module, there should be no blank lines + # after closing the docstring. pass