Creating Python Function docstrings and Running doctests

Pubblicato il: 22 settembre 2022
sul canale di: Real Python
13,164
215

What information goes into a Python function docstring? How can you create tests within your docstrings, that can be checked with doctests?

This is a portion of a full course on creating documentation for your projects using MkDocs and mkdocstrings.

The complete course can be found here:
https://realpython.com/courses/buildi...

The full course also includes how to:
Work with MkDocs to produce static pages from Markdown
Pull in code documentation from docstrings using mkdocstrings
Use the Material for MkDocs theme to make your documentation look good
Host your documentation on GitHub Page


In questa pagina del sito puoi guardare il video online Creating Python Function docstrings and Running doctests della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Real Python 22 settembre 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 13,164 volte e gli è piaciuto 215 spettatori. Buona visione!