mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	Add comment why the change in d83884b3a427 wasn't necessary.
This commit is contained in:
		
							parent
							
								
									dada5a8d75
								
							
						
					
					
						commit
						0b64a0fc64
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -850,6 +850,7 @@ seq_as_ssize_array(PyObject *seq, Py_ssize_t len, int is_shape)
 | 
			
		|||
    Py_ssize_t *dest;
 | 
			
		||||
    Py_ssize_t x, i;
 | 
			
		||||
 | 
			
		||||
    /* ndim = len <= ND_MAX_NDIM, so PyMem_New() is actually not needed. */
 | 
			
		||||
    dest = PyMem_New(Py_ssize_t, len);
 | 
			
		||||
    if (dest == NULL) {
 | 
			
		||||
        PyErr_NoMemory();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue