Are docstrings for internal functions (python) necessary? [closed]

Lo, I quote from PEP 8, the wise words of which should be considered law. Upon this very topic, PEP 8 saith:

  • Write docstrings for all public modules, functions, classes, and
    methods. Docstrings are not necessary for non-public methods, but you
    should have a comment that describes what the method does. This comment
    should appear after the “def” line.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)