Skip to content

Properties are rendered with parens #9

@bear24rw

Description

@bear24rw

Describe the bug
@property's are rendered with trailing () which makes them look like functions.

To Reproduce

class Example:
    @property
    def foobar(self):
        """
        Return the value of the foobar property
        """
        return 42

Expected behavior
I expect the heading in the API docs to be just foobar but it is rendered as foobar()

System (please complete the following information):

mkdocs==1.2.3
mkdocs-autorefs==0.4.1
mkdocs-material==7.3.4
mkdocs-material-extensions==1.0.3
mkdocstrings==0.18.1
mkdocstrings-python==0.6.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions