A Python documentation string is known as docstring, it is a way of documenting Python functions, modules, and classes. Post navigation What are generators in Python? How can you copy an object in Python?