Mega Code Archive
Categories
/
Python Tutorial
/
Function
Special comments called documentation strings, or doc strings
def foo(): "This is a doc string." return True # doc strings can be accessed at runtime # doc strings can be used to automatically generate documentation.