Select the true statement related to PEP 257.
The true statement related to PEP 257 isOption B. According to PEP 257, string literals occurring elsewhere in Python code may also act as documentation. They are not recognized by the Python bytecode compiler and are not accessible as runtime object attributes (i.e. not assigned todoc), but two types of extra docstrings may be extracted by software tools: String literals occurring immediately after a simple assignment at the top level of a module, class, orinitmethod are called ''attribute docstrings''.String literals occurring immediately after another docstring are called ''additional docstrings''1.
Limited Time Offer
25%
Off
Currently there are no comments in this discussion, be the first to comment!
Currently there are no comments in this discussion, be the first to comment!