Further Reading

  1. PEP 257: Docstring Conventions explains what distinguishes a good docstring from a great docstring.

  2. Python Tutorial: Documentation Strings also touches on the subject.

  3. PEP 8: Style Guide for Python Code discusses good indentation style.

  4. Python Reference Manual explains what it means to say that everything in Python is an object, because some people are pedants and like to discuss that sort of thing at great length.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy