mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Added flush() method.
This commit is contained in:
		
							parent
							
								
									ff99a72f53
								
							
						
					
					
						commit
						aa3e163fa1
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -81,6 +81,8 @@ def write(self, s): | |||
| 		self.pos = newpos | ||||
| 	def writelines(self, list): | ||||
| 		self.write(string.joinfields(list, '')) | ||||
| 	def flush(self): | ||||
| 		pass | ||||
| 	def getvalue(self): | ||||
| 		return self.buf | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Sjoerd Mullender
						Sjoerd Mullender