☰
Debian Codegraph
@
9.1.0-6
9.1.0-4
/
/
tests
/
roots
/
test-ext-autodoc
/
target
/
cached_property.py
☽
☼
tests/roots/test-ext-autodoc/target/cached_property.py
code
plain
raw
BSD-2-clause
2007-2025 the Sphinx team (see AUTHORS file)
debian/copyright
1
from functools import cached_property
2
3
4
class Foo:
5
@cached_property
6
def prop(self) -> int:
7
return 1
8
9
@cached_property
10
def prop_with_type_comment(self):
11
# type: () -> int
12
return 1