mirror of
				https://github.com/astral-sh/ruff.git
				synced 2025-10-31 20:08:19 +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
 | 
