mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Merged revisions 83880 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83880 | senthil.kumaran | 2010-08-09 14:26:25 +0530 (Mon, 09 Aug 2010) | 3 lines Fix Issue5416 - explain negative value for count in bytes object replace. ........
This commit is contained in:
		
							parent
							
								
									b61d5c9758
								
							
						
					
					
						commit
						a3aee53776
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -2557,7 +2557,8 @@ PyDoc_STRVAR(replace__doc__,
 | 
				
			||||||
\n\
 | 
					\n\
 | 
				
			||||||
Return a copy of B with all occurrences of subsection\n\
 | 
					Return a copy of B with all occurrences of subsection\n\
 | 
				
			||||||
old replaced by new.  If the optional argument count is\n\
 | 
					old replaced by new.  If the optional argument count is\n\
 | 
				
			||||||
given, only the first count occurrences are replaced.");
 | 
					positive, only the first count occurrences are replaced. A\n\
 | 
				
			||||||
 | 
					negative value of count replaces all occurences");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static PyObject *
 | 
					static PyObject *
 | 
				
			||||||
bytes_replace(PyBytesObject *self, PyObject *args)
 | 
					bytes_replace(PyBytesObject *self, PyObject *args)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue