-
-
Notifications
You must be signed in to change notification settings - Fork 145
Closed
Labels
Hacktoberfesthttps://hacktoberfest.digitalocean.comhttps://hacktoberfest.digitalocean.comenhancementNew feature or requestNew feature or request
Description
The generated documentation for a property:
@property
def weight(self) -> int:
...
is shown as "var weight : int" but it would be more useful if the fact that this is a property would get shown, e.g.
"property weight: int" as the Sphinx generator does.
This is also shown under the header "Instance variables" which is not exactly right.
Also, if there is a separate setter for the property:
@weight.setter
def weight(self, weight):
...
this is not reflected in the documentation, so there is no way to see from the documentation if the property can only be read or set as well. Only the docstring of the getter method is included in the generated documentation.
Metadata
Metadata
Assignees
Labels
Hacktoberfesthttps://hacktoberfest.digitalocean.comhttps://hacktoberfest.digitalocean.comenhancementNew feature or requestNew feature or request