Special comments called documentation strings, or "doc strings" : Documentation : Function PYTHON TUTORIALS


PYTHON TUTORIALS » Function » Documentation »

 

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.



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Function
» Documentation