summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-ext-autodoc/target/cached_property.py
blob: 712d1d917e729aa9b5809cb7a386ffed3dc67b15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from functools import cached_property


class Foo:
    @cached_property
    def prop(self) -> int:
        return 1

    @cached_property
    def prop_with_type_comment(self):
        # type: () -> int
        return 1