54 Documenting Functions, Classes, and Methods | Python [ COMPLETE COURSE ]

Опубликовано: 21 Август 2020
на канале: Tech Lab
43
0

The Python help function can be super helpful for easily pulling up documentation for classes and methods. We can call the help function on one of our classes, which will return some basic info about the methods defined in our class.
We can add documentation to our own classes, methods, and functions using docstrings. A docstring is a short text explanation of what something does. You can add a docstring to a method, function, or class by first defining it, then adding a description inside triple quotes.

Christine Rafla
Email us at - techlaboffice77@gmail.com


На этой странице сайта вы можете посмотреть видео онлайн 54 Documenting Functions, Classes, and Methods | Python [ COMPLETE COURSE ] длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Tech Lab 21 Август 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 43 раз и оно понравилось 0 зрителям. Приятного просмотра!