Python_Institute
PCPP-32-101 · Question #65
Your team is documenting an API using Python's built-in tools. Which standard should be followed for writing docstrings?
The correct answer is C. Apply PEP 257 for writing docstrings. You've hit your limit · resets 5am (America/New_York)
PEP and Best Practices
Question
Your team is documenting an API using Python's built-in tools. Which standard should be followed for writing docstrings?
Options
- AUse PEP 8 naming conventions.
- BFollow PEP 20 for code clarity.
- CApply PEP 257 for writing docstrings.
- DUse PEP 484 for compatibility checks.
How the community answered
(24 responses)- A4% (1)
- B8% (2)
- C88% (21)
Explanation
You've hit your limit · resets 5am (America/New_York)
Topics
#PEP 257#docstrings#API documentation#Python standards
Community Discussion
No community discussion yet for this question.