mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	#2809: elaborate str.split docstring a bit.
This commit is contained in:
		
							parent
							
								
									53905d8f7f
								
							
						
					
					
						commit
						dfb77dbc70
					
				
					 2 changed files with 5 additions and 3 deletions
				
			
		|  | @ -7494,8 +7494,9 @@ PyDoc_STRVAR(split__doc__, | |||
| \n\ | ||||
| Return a list of the words in S, using sep as the\n\ | ||||
| delimiter string.  If maxsplit is given, at most maxsplit\n\ | ||||
| splits are done. If sep is not specified or is None,\n\ | ||||
| any whitespace string is a separator."); | ||||
| splits are done. If sep is not specified or is None, any\n\ | ||||
| whitespace string is a separator and leading and trailing\n\ | ||||
| whitespace is stripped before splitting."); | ||||
| 
 | ||||
| static PyObject* | ||||
| unicode_split(PyUnicodeObject *self, PyObject *args) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Georg Brandl
						Georg Brandl