[wingide-users] Question/Suggestion: More docstrings
cool-rr at cool-rr.com
Fri Mar 5 09:05:51 MST 2010
Refer to this excerpt out of PEP 0257: (Link:
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
to __doc__), but two types of extra docstrings may be extracted by software
1. String literals occurring immediately after a simple assignment at the
top level of a module, class, or __init__ method are called "attribute
2. String literals occurring immediately after another docstring are called
Is Wing one of these "software tools"? I'd personally enjoy it if Wing could
display these kind of extra comments in the source assistant.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wingide-users