You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most classes, methods, functions do not have any docstrings for documentation. PEP 0257 describes the standard format
Single line
defkos_root():
"""Return the pathname of the KOS root directory."""
Multi-Line
defcomplex(real=0.0, imag=0.0):
"""Form a complex number. Keyword arguments: real -- the real part (default 0.0) imag -- the imaginary part (default 0.0) """ifimag==0.0andreal==0.0:
returncomplex_zero
The text was updated successfully, but these errors were encountered:
Additionally meta text format specifiers are also used, such as Markdown and reStructuredText (reST)
Sphinx is a common documentation generator and uses reST. In general reST is more popular than Markdown for python docstrings
Most classes, methods, functions do not have any docstrings for documentation.
PEP 0257 describes the standard format
Single line
Multi-Line
The text was updated successfully, but these errors were encountered: