mirror of
				https://github.com/psycopg/psycopg2.git
				synced 2025-11-04 09:47:30 +03:00 
			
		
		
		
	Case (2) in usercast.py
This commit is contained in:
		
							parent
							
								
									cd672525e1
								
							
						
					
					
						commit
						0d4db2ec55
					
				| 
						 | 
					@ -65,7 +65,8 @@ class Rect(object):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def __conform__(self, proto):
 | 
					    def __conform__(self, proto):
 | 
				
			||||||
        """This is a terrible hack, just ignore proto and return self."""
 | 
					        """This is a terrible hack, just ignore proto and return self."""
 | 
				
			||||||
        return self
 | 
					        if proto == psycopg.extensions.ISQLQuote:
 | 
				
			||||||
 | 
					            return self
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    def from_points(self, x0, y0, x1, y1):
 | 
					    def from_points(self, x0, y0, x1, y1):
 | 
				
			||||||
        """Init the rectangle from points."""
 | 
					        """Init the rectangle from points."""
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user