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

Publié le: 21 août 2020
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne 54 Documenting Functions, Classes, and Methods | Python [ COMPLETE COURSE ] durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Tech Lab 21 août 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 43 fois et il a aimé 0 téléspectateurs. Bon visionnage!