mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
		
							parent
							
								
									273aa54052
								
							
						
					
					
						commit
						057651a50c
					
				| 
						 | 
				
			
			@ -3750,9 +3750,8 @@ _getattr_unsafe_ptrs(ImagingObject *self, void *closure) {
 | 
			
		|||
        self->image->image);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static PyObject*
 | 
			
		||||
_getattr_readonly(ImagingObject* self, void* closure)
 | 
			
		||||
{
 | 
			
		||||
static PyObject *
 | 
			
		||||
_getattr_readonly(ImagingObject *self, void *closure) {
 | 
			
		||||
    return PyLong_FromLong(self->image->readonly);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -3763,7 +3762,7 @@ static struct PyGetSetDef getsetters[] = {
 | 
			
		|||
    {"id", (getter)_getattr_id},
 | 
			
		||||
    {"ptr", (getter)_getattr_ptr},
 | 
			
		||||
    {"unsafe_ptrs", (getter)_getattr_unsafe_ptrs},
 | 
			
		||||
    {"readonly", (getter) _getattr_readonly},
 | 
			
		||||
    {"readonly", (getter)_getattr_readonly},
 | 
			
		||||
    {NULL}};
 | 
			
		||||
 | 
			
		||||
/* basic sequence semantics */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user