docstring
nounUK /ˈdɒk.stɹɪŋ/ · US /ˈdɑk.stɹɪŋ/
Etymology From doc + string; see doc (“documentation”).
1
Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Programming, Sciences 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.
- Related terms
- here document