Python logoPython/
FLK-D202

No blank lines allowed after function docstringFLK-D202

Minor severityMinor
Documentation categoryDocumentation

There shouldn't be any blank lines after the function docstring. Remove the blank lines to fix this issue.

Not preferred:

def example():
    '''Bad docstring.'''

    pass

Preferred:

def example():
    '''Good docstring.'''
    pass