python python

main
km0 2 years ago
parent 7aa98a8487
commit f82f6c28b0

@ -221,7 +221,8 @@ The system is written in Python, and its code documentation consists mainly of _
A _docstring_ is a piece of text written at the very beginning of a function to document it. Unlike normal comments, that are usually stripped out from code at runtime, _docstrings_ are preserved, and can be consulted with interactive help systems or used as metadata. Many programming languages support this pattern, that is often used to produce automatic pieces of documentation by simply collecting and listing all the functions and relative descriptions. A _docstring_ is a piece of text written at the very beginning of a function to document it. Unlike normal comments, that are usually stripped out from code at runtime, _docstrings_ are preserved, and can be consulted with interactive help systems or used as metadata. Many programming languages support this pattern, that is often used to produce automatic pieces of documentation by simply collecting and listing all the functions and relative descriptions.
```python ```
#!python
class Humor(Bureau): class Humor(Bureau):
""" """
This bureau entertains the modern worker and provides colorful This bureau entertains the modern worker and provides colorful

Loading…
Cancel
Save