Attributi di funzioni e moduli Python

__doc__ -restituisce la doc string.
__str__ - definisce la stringa da restituire alla funziona print(oggetto).

Tags:

Leave a Reply

You must be logged in to post a comment.