mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	Add "partition" to UserString.
This commit is contained in:
		
							parent
							
								
									072a24c33a
								
							
						
					
					
						commit
						a172c32c05
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -102,6 +102,7 @@ def ljust(self, width, *args): | |||
|         return self.__class__(self.data.ljust(width, *args)) | ||||
|     def lower(self): return self.__class__(self.data.lower()) | ||||
|     def lstrip(self, chars=None): return self.__class__(self.data.lstrip(chars)) | ||||
|     def partition(self, sep): return self.data.partition(sep) | ||||
|     def replace(self, old, new, maxsplit=-1): | ||||
|         return self.__class__(self.data.replace(old, new, maxsplit)) | ||||
|     def rfind(self, sub, start=0, end=sys.maxint): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Georg Brandl
						Georg Brandl