docstring

A string literal specified in source code that is used, like a comment, to document a specific segment of code, but remains available at run-time.

Noun

  1. A string literal specified in source code that is used, like a comment, to document a specific segment of code, but remains available at run-time.

Origin

From doc + string; see doc (“documentation”).

Forms

docstrings

Related

here document