You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docstrings are read by automated documentation tools and are returned by calling the special attribute `.__doc__` on the function, method, or class name.
228
-
Docstrings can also function as [lightweight unit tests][doctests], which will be covered in a later exercise.
229
227
They are recommended for programs of any size where documentation is needed, and their conventions are laid out in [PEP257][pep257].
230
228
229
+
Docstrings can also function as [lightweight unit tests][doctests], which will be covered in a later exercise.
0 commit comments