mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 21:51:50 +00:00 
			
		
		
		
	#2809 followup: even better split docstring.
This commit is contained in:
		
							parent
							
								
									8940ecd39d
								
							
						
					
					
						commit
						ecbbd94e71
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		|  | @ -1502,8 +1502,8 @@ PyDoc_STRVAR(split__doc__, | ||||||
| Return a list of the words in the string S, using sep as the\n\ | Return a list of the words in the string S, using sep as the\n\ | ||||||
| delimiter string.  If maxsplit is given, at most maxsplit\n\ | delimiter string.  If maxsplit is given, at most maxsplit\n\ | ||||||
| splits are done. If sep is not specified or is None, any\n\ | splits are done. If sep is not specified or is None, any\n\ | ||||||
| whitespace string is a separator and leading and trailing\n\ | whitespace string is a separator and empty strings are removed\n\ | ||||||
| whitespace is stripped before splitting."); | from the result."); | ||||||
| 
 | 
 | ||||||
| static PyObject * | static PyObject * | ||||||
| string_split(PyStringObject *self, PyObject *args) | string_split(PyStringObject *self, PyObject *args) | ||||||
|  |  | ||||||
|  | @ -7495,8 +7495,8 @@ PyDoc_STRVAR(split__doc__, | ||||||
| Return a list of the words in S, using sep as the\n\ | Return a list of the words in S, using sep as the\n\ | ||||||
| delimiter string.  If maxsplit is given, at most maxsplit\n\ | delimiter string.  If maxsplit is given, at most maxsplit\n\ | ||||||
| splits are done. If sep is not specified or is None, any\n\ | splits are done. If sep is not specified or is None, any\n\ | ||||||
| whitespace string is a separator and leading and trailing\n\ | whitespace string is a separator and empty strings are\n\ | ||||||
| whitespace is stripped before splitting."); | removed from the result."); | ||||||
| 
 | 
 | ||||||
| static PyObject* | static PyObject* | ||||||
| unicode_split(PyUnicodeObject *self, PyObject *args) | unicode_split(PyUnicodeObject *self, PyObject *args) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Georg Brandl
						Georg Brandl