mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Fix API typo. The write buffer is not const. Closes SF 606216.
This commit is contained in:
		
							parent
							
								
									b2c729fe27
								
							
						
					
					
						commit
						513069028f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -987,7 +987,7 @@ else {
 | 
				
			||||||
\end{cfuncdesc}
 | 
					\end{cfuncdesc}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\begin{cfuncdesc}{int}{PyObject_AsWriteBuffer}{PyObject *obj,
 | 
					\begin{cfuncdesc}{int}{PyObject_AsWriteBuffer}{PyObject *obj,
 | 
				
			||||||
                                               const char **buffer,
 | 
					                                               char **buffer,
 | 
				
			||||||
                                               int *buffer_len}
 | 
					                                               int *buffer_len}
 | 
				
			||||||
  Returns a pointer to a writeable memory location.  The \var{obj}
 | 
					  Returns a pointer to a writeable memory location.  The \var{obj}
 | 
				
			||||||
  argument must support the single-segment, character buffer
 | 
					  argument must support the single-segment, character buffer
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue