mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-19 01:51:30 +00:00
17 lines
301 B
Python
17 lines
301 B
Python
class PropertyWithSetter:
|
|
@property
|
|
def foo(self) -> str:
|
|
"""Docstring for foo."""
|
|
return "foo"
|
|
|
|
@foo.setter
|
|
def foo(self, value: str) -> None:
|
|
pass
|
|
|
|
@foo.deleter
|
|
def foo(self):
|
|
pass
|
|
|
|
@foo
|
|
def foo(self, value: str) -> None:
|
|
pass
|