Inspectopedia Help

Single quoted docstring

Reports docstrings that do not adhere to the triple double-quoted string format.


def calc(self, balance=0): 'param: balance' self.balance = balance

When the quick-fix is applied, the code changes to:

def calc(self, balance=0): """param: balance""" self.balance = balance

Inspection Details

Available in:

DataSpell 2023.3, PyCharm 2023.3


Python Community Edition, 233.SNAPSHOT

Last modified: 13 July 2023