mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Remove unnecessary brackets from docstring optional arguments.
This commit is contained in:
		
							parent
							
								
									0bd003a55e
								
							
						
					
					
						commit
						c6f1396be0
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1426,7 +1426,7 @@ s_unpack(PyObject *self, PyObject *input)
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
PyDoc_STRVAR(s_unpack_from__doc__,
 | 
			
		||||
"S.unpack_from(buffer[, offset=0]) -> (v1, v2, ...)\n\
 | 
			
		||||
"S.unpack_from(buffer, offset=0) -> (v1, v2, ...)\n\
 | 
			
		||||
\n\
 | 
			
		||||
Return a tuple containing values unpacked according to the format\n\
 | 
			
		||||
string S.format.  Requires len(buffer[offset:]) >= S.size.  See\n\
 | 
			
		||||
| 
						 | 
				
			
			@ -1891,7 +1891,7 @@ unpack(PyObject *self, PyObject *args)
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
PyDoc_STRVAR(unpack_from_doc,
 | 
			
		||||
"unpack_from(fmt, buffer[, offset=0]) -> (v1, v2, ...)\n\
 | 
			
		||||
"unpack_from(fmt, buffer, offset=0) -> (v1, v2, ...)\n\
 | 
			
		||||
\n\
 | 
			
		||||
Return a tuple containing values unpacked according to the format string\n\
 | 
			
		||||
fmt.  Requires len(buffer[offset:]) >= calcsize(fmt).  See help(struct)\n\
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue