mirror of
				https://github.com/astral-sh/ruff.git
				synced 2025-11-04 13:39:07 +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
 |