QuestionQ64Verified/Coding Conventions, Best Practices, and StandardizationCopy linkReport a problemAsk AstroTutorSave questionSelect the true statement concerning PEP 257.AString literals that occur immediately after another docstring are called attribute docstringsBAttribute docstrings and Additional docstrings are two types of extra docstrings that can be extracted by software toolsCString literals that occur in places other than the first statement in a module, function, or class definition can act as documentation. They are recognized by the Python bytecode compiler, and are accessible as runtime object attributes.DString literals that occur immediately after a simple assignment at the top level of a module are called complementary docstringsShow AnswerAnswerExplanationPEP 257 identifies attribute docstrings and additional docstrings as two types of extra documentation strings that software tools may extract. String literals outside the first statement are not recognized as runtime __doc__ attributes by the bytecode compiler.Learn morePEP 257 – Docstring ConventionsShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion