[wingide-users] Question/Suggestion: More docstrings

cool-RR cool-rr at cool-rr.com
Fri Mar 5 09:05:51 MST 2010


Refer to this excerpt out of PEP 0257: (Link:
http://www.python.org/dev/peps/pep-0257/#what-is-a-docstring)

"""
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
tools:

1. String literals occurring immediately after a simple assignment at the
top level of a module, class, or __init__ method are called "attribute
docstrings".
2. String literals occurring immediately after another docstring are called
"additional docstrings".
"""

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.


--
Sincerely,
Ram Rachum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20100305/188780c8/attachment.html


More information about the wingide-users mailing list