Creating Python Function docstrings and Running doctests

Опубликовано: 22 Сентябрь 2022
на канале: 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


На этой странице сайта вы можете посмотреть видео онлайн Creating Python Function docstrings and Running doctests длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Real Python 22 Сентябрь 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 13,164 раз и оно понравилось 215 зрителям. Приятного просмотра!