Python Programming - Functions - Discussion

Discussion Forum : Functions - General Questions (Q.No. 54)
54.
What does the __annotations__ attribute indicate?
It contains the annotations of a module.
It contains the annotations of a function's parameters.
It contains the annotations of a class.
It contains the annotations of a variable.
Answer: Option
Explanation:
The __annotations__ attribute in Python contains the annotations of a function's parameters.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.