mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	Merge 3.2.
This commit is contained in:
		
						commit
						ea94ba45fa
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -692,8 +692,10 @@ bytesio_getstate(bytesio *self)
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    else {
 | 
					    else {
 | 
				
			||||||
        dict = PyDict_Copy(self->dict);
 | 
					        dict = PyDict_Copy(self->dict);
 | 
				
			||||||
        if (dict == NULL)
 | 
					        if (dict == NULL) {
 | 
				
			||||||
 | 
					            Py_DECREF(initvalue);
 | 
				
			||||||
            return NULL;
 | 
					            return NULL;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    state = Py_BuildValue("(OnN)", initvalue, self->pos, dict);
 | 
					    state = Py_BuildValue("(OnN)", initvalue, self->pos, dict);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue