English edit

Etymology edit

doc +‎ string; see doc (documentation).

Noun edit

docstring (plural docstrings)

  1. (programming) 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.

Translations edit

See also edit