Have you ever come across the forward slash (/) and asterisk (*) symbols in the documentation for your favorite libraries? These represent special parameters, which tell you what kinds of arguments you can use to call a given function. In Python, these parameters can help you ensure that your functions are used correctly.
This is a code conversation based off a recent question from Real Python's weekly Office Hours meeting.
This is a portion of the complete course, which you can find here:
https://realpython.com/courses/specia...
The rest of the course covers:
Writing Keyword-Only Functions
Writing a Combined Function
Deeper explanation of the Special Parameter Symbols
Using Special Parameters in Real-World Code
Sur cette page du site, vous pouvez voir la vidéo en ligne What Are Those Special Function Parameters in Python? durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Real Python 11 août 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 3,506 fois et il a aimé 110 téléspectateurs. Bon visionnage!