Sign inSign in
ConceptSystems & CS

Docstring

A multi-line comment using triple quotes that acts as a specification or contract for the function's inputs and outputs.
as Ana Bell defines itMITThe wording closest to all 3 definitions
Watch it explained

Know first

Named as a prerequisite by the lectures that define this. The number is how many say so. A grey one has no page yet.

Opens up

Concepts that name this one as a prerequisite.

Lecturers

2

Each in their own terms, from the easiest level.

  • Ana Bell

    MIT · Introductory

    • 1:12Functions as Objects
  • David J. Malan

    Harvard University · Introductory

    Standardized documentation strings placed inside Python functions to describe what they do, following conventions like PEP 257.

Connections

7

The lectures that define it or assume it, and the concepts next to it.

Concepts4

Lectures3

2 lecturers. Definitions are written by AI from each lecture’s transcript. A time with a play mark starts the lecture at the moment the lecturer says it.